Feed date scraper for Gemini (protocol)
Diffstat (limited to 'test_zachwalk.py')
| -rwxr-xr-x | test_zachwalk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py index 0576ac5..454dc56 100755 --- a/test_zachwalk.py +++ b/test_zachwalk.py @@ -12,6 +12,9 @@ def main(): 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() + assert zachwalk.gnd(['=> m5paper.gmi 2021-01-31 M5Paper']) == parse('2021-01-31').date() + + assert zachwalk.getdesc('=> m5paper.gmi 2021-01-31 M5Paper') == '2021-01-31 M5Paper' if __name__ == '__main__': main() |