aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-04 19:11:01 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-04 19:11:01 +0600
commit8cf70de428c3fef910ba966fb56d39478226acc8 (patch)
treee6bb759b4ab1e4c26f214650506833ae594c5394 /test
parent15ac8413c78b991f2e99b6bdc538bc8c5ae8e8a0 (diff)
[test_utils] Add test for unified_strdate
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
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>