Commit ccb5aa4e authored by Harry Fuecks's avatar Harry Fuecks 💬

Add tests to check entry updated value is preserved

parent 167f0de4
......@@ -59,6 +59,7 @@ class SpiderTest(unittest.TestCase):
self.assertEqual(['application/atom+xml'], [link.type
for link in data.entries[0].source.links if link.rel=='self'])
self.assertEqual('one', data.entries[0].source.planet_name)
self.assertEqual('2006-01-01T00:00:00Z', data.entries[0].updated)
self.assertEqual(os.stat(files[2]).st_mtime,
calendar.timegm(data.entries[0].updated_parsed))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment