Browse Source

[fix]torrentz unit_tests timezone fix

misnyo 7 years ago
parent
commit
2098e1b7ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/unit/engines/test_torrentz.py

+ 1
- 1
tests/unit/engines/test_torrentz.py View File

67
         self.assertEqual(r['url'], 'https://torrentz2.eu/4362e08b1d80e1820fb2550b752f9f3126fe76d6')
67
         self.assertEqual(r['url'], 'https://torrentz2.eu/4362e08b1d80e1820fb2550b752f9f3126fe76d6')
68
         self.assertEqual(r['title'], 'Completely valid info books ebooks')
68
         self.assertEqual(r['title'], 'Completely valid info books ebooks')
69
         # 22 Nov 2015 03:01:42
69
         # 22 Nov 2015 03:01:42
70
-        self.assertEqual(r['publishedDate'], datetime(2017, 8, 24, 19, 32, 4))
70
+        self.assertEqual(r['publishedDate'], datetime(2017, 8, 24, 17, 32, 4))
71
         self.assertEqual(r['seed'], 14)
71
         self.assertEqual(r['seed'], 14)
72
         self.assertEqual(r['leech'], 1)
72
         self.assertEqual(r['leech'], 1)
73
         self.assertEqual(r['filesize'], 30 * 1024 * 1024)
73
         self.assertEqual(r['filesize'], 30 * 1024 * 1024)