diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 12:45:18 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 12:45:18 +0200 |
commit | 99b67fecc5ab6c57eada1e1678034dd71c57e338 (patch) | |
tree | fe07d9a8e723af6c20d18232c398d5f7da96a02c /test | |
parent | 89294b5f50462ede8ba83463ff262eb2c5219e1b (diff) |
[arte] Fix upload date extraction
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 6419b3ca9..97551ce9c 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -138,6 +138,7 @@ class TestUtil(unittest.TestCase): self.assertEqual(unified_strdate('Dec 14, 2012'), '20121214') self.assertEqual(unified_strdate('2012/10/11 01:56:38 +0000'), '20121011') self.assertEqual(unified_strdate('1968-12-10'), '19681210') + self.assertEqual(unified_strdate('28/01/2014 21:00:00 +0100'), '20140128') def test_find_xpath_attr(self): testxml = '''<root> |