aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-03 10:58:28 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-03 10:58:28 +0100
commit9bb8e0a3f9276f65de38cda431bf72f7bd266693 (patch)
treee7e6d9d96a107d4ac28338c58ad9a8bce98e6097 /test/test_utils.py
parent1a6373ef3960add0117f797e0afe3322352c1c52 (diff)
[wsj] Add new extractor (Fixes #4854)
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 0ffccd35f..80c765bc4 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -156,6 +156,9 @@ class TestUtil(unittest.TestCase):
self.assertEqual(
unified_strdate('11/26/2014 11:30:00 AM PST', day_first=False),
'20141126')
+ self.assertEqual(
+ unified_strdate('2/2/2015 6:47:40 PM', day_first=False),
+ '20150202')
def test_find_xpath_attr(self):
testxml = '''<root>