diff --git a/tests.py b/tests.py index 7b4a85fd3..126b3a727 100644 --- a/tests.py +++ b/tests.py @@ -2390,18 +2390,16 @@ def testParseFeedDate(): print('testParseFeedDate') pubDate = "2020-08-27T16:12:34+00:00" publishedDate = parseFeedDate(pubDate) - assert publishedDate + assert publishedDate == "2020-08-27 16:12:34+00:00" pubDate = "Sun, 22 Nov 2020 19:51:33 +0100" publishedDate = parseFeedDate(pubDate) - print(str(publishedDate)) - assert publishedDate + assert publishedDate == "2020-11-22 19:51:33+00:00" def runAllTests(): print('Running tests...') testParseFeedDate() - return testFirstParagraphFromString() testGetNewswireTags() testHashtagRuleTree()