about summary refs log tree commit diff
path: root/test_zachwalk.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-03-01 08:59:37 -0500
committerZach DeCook <zachdecook@librem.one>2021-03-01 08:59:37 -0500
commitf54a46abe735719e75ac3b97efc78a5d5509538d (patch)
tree0bf8a3df36f1d2539ab6f5ebe5368b9aecf83de2 /test_zachwalk.py
parent2cff5f78307de10d573c351c78ef85dcc1f72cb2 (diff)
downloadzachwalk-f54a46abe735719e75ac3b97efc78a5d5509538d.tar.gz
tests: try to debug kel's gemlog date issue
Diffstat (limited to 'test_zachwalk.py')
-rwxr-xr-xtest_zachwalk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py
index 0411e1f..0576ac5 100755
--- a/test_zachwalk.py
+++ b/test_zachwalk.py
@@ -10,6 +10,8 @@ def main():
     assert zachwalk.gnd([b'=> gemini://drewdevault.com/2020/09/21/Gemini-TOFU.gmi September 21, 2020: TOFU recommendations for Gemini']) == parse('2020-09-21').date()
     assert zachwalk.gnd(['=> gemini://drewdevault.com/2021/02/15/Status-update-February-2021.gmi February 15, 2021: Status update, February 2021']) == parse('2021-02-15').date()
     assert zachwalk.gnd(['=>2021-01-28.gmi 2021-01-28 - RE ew0k: Your Gemini Browser and Server are Probably Doing Certificates Wrong']) == parse('2021-01-28').date()
+    assert zachwalk.gnd(['=> atom.xml     Atom Feed']) == zachwalk.DEFAULT
+    assert zachwalk.gnd(['=> geminitoepub.gmi     2021-02-27 Gemini to Epub']) == parse('2021-02-27').date()
 
 if __name__ == '__main__':
     main()