summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_tokyotoshokan.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-05-15 14:23:23 +0200
committerGitHub <noreply@github.com>2017-05-15 14:23:23 +0200
commit4cffd78650c3f1dfce413ae0a1cd0453ebe6f277 (patch)
treeac65990c72156def2d49e81d981f0b3beda4fd2e /tests/unit/engines/test_tokyotoshokan.py
parent46a2c63f8e1c3819cceff2d61fe9106051e8ecee (diff)
parent52e615dede8538c36f569d2cf07835427a9a0db6 (diff)
Merge pull request #913 from asciimoo/py3
Add Python3 compatibility
Diffstat (limited to 'tests/unit/engines/test_tokyotoshokan.py')
-rw-r--r--tests/unit/engines/test_tokyotoshokan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/engines/test_tokyotoshokan.py b/tests/unit/engines/test_tokyotoshokan.py
index efe7dbfc2..b5c6fad17 100644
--- a/tests/unit/engines/test_tokyotoshokan.py
+++ b/tests/unit/engines/test_tokyotoshokan.py
@@ -91,7 +91,7 @@ class TestTokyotoshokanEngine(SearxTestCase):
self.assertEqual(r['title'], 'Koyomimonogatari')
self.assertEqual(r['magnetlink'], 'magnet:?xt=urn:btih:4c19eb46b5113685fbd2288ed2531b0b')
self.assertEqual(r['filesize'], int(1024 * 1024 * 10.5))
- self.assertEqual(r['publishedDate'], datetime(2016, 03, 26, 16, 41))
+ self.assertEqual(r['publishedDate'], datetime(2016, 3, 26, 16, 41))
self.assertEqual(r['content'], 'Comment: sample comment')
self.assertEqual(r['seed'], 53)
self.assertEqual(r['leech'], 18)