summaryrefslogtreecommitdiff
path: root/tests/unit/engines
diff options
context:
space:
mode:
authormisnyo <misnyo@misnyo.eu>2017-08-25 01:11:02 +0200
committermisnyo <misnyo@misnyo.eu>2017-08-25 01:11:02 +0200
commit2098e1b7ff39fb24bbc2ad7f1800992f1748eba0 (patch)
tree42a8091bd754ec1c427e3a64b3670ae8867b3f21 /tests/unit/engines
parentd14e2781b28e77207ab841dd52db0835ee55fcf2 (diff)
downloadsearxng-2098e1b7ff39fb24bbc2ad7f1800992f1748eba0.tar.gz
searxng-2098e1b7ff39fb24bbc2ad7f1800992f1748eba0.zip
[fix]torrentz unit_tests timezone fix
Diffstat (limited to 'tests/unit/engines')
-rw-r--r--tests/unit/engines/test_torrentz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/engines/test_torrentz.py b/tests/unit/engines/test_torrentz.py
index 06c6fa30c..271758da0 100644
--- a/tests/unit/engines/test_torrentz.py
+++ b/tests/unit/engines/test_torrentz.py
@@ -67,7 +67,7 @@ class TestTorrentzEngine(SearxTestCase):
self.assertEqual(r['url'], 'https://torrentz2.eu/4362e08b1d80e1820fb2550b752f9f3126fe76d6')
self.assertEqual(r['title'], 'Completely valid info books ebooks')
# 22 Nov 2015 03:01:42
- self.assertEqual(r['publishedDate'], datetime(2017, 8, 24, 19, 32, 4))
+ self.assertEqual(r['publishedDate'], datetime(2017, 8, 24, 17, 32, 4))
self.assertEqual(r['seed'], 14)
self.assertEqual(r['leech'], 1)
self.assertEqual(r['filesize'], 30 * 1024 * 1024)