diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-04 19:11:01 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-04 19:11:01 +0600 |
commit | 8cf70de428c3fef910ba966fb56d39478226acc8 (patch) | |
tree | e6bb759b4ab1e4c26f214650506833ae594c5394 /test | |
parent | 15ac8413c78b991f2e99b6bdc538bc8c5ae8e8a0 (diff) |
[test_utils] Add test for unified_strdate
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 4e524aca3..2e3a6480c 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -227,6 +227,7 @@ class TestUtil(unittest.TestCase): self.assertEqual( unified_strdate('2/2/2015 6:47:40 PM', day_first=False), '20150202') + self.assertEqual(unified_strdate('25-09-2014'), '20140925') def test_find_xpath_attr(self): testxml = '''<root> |