aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-12 02:57:36 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-12 02:57:36 +0100
commit42bdd9d0516be5b71c89c9cccde16a880a14b0b1 (patch)
tree5bb4344cfe824b6de71c7e03893c9bd491554747 /test/test_utils.py
parent4e40de6e2a62b56044a98828bc2df9b93e3dc665 (diff)
[cinchcast] Add new extractor (Fixes #4428)
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 aaa293ff8..d42df6d96 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -144,6 +144,9 @@ class TestUtil(unittest.TestCase):
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')
+ self.assertEqual(
+ unified_strdate('11/26/2014 11:30:00 AM PST', day_first=False),
+ '20141126')
def test_find_xpath_attr(self):
testxml = '''<root>