Commit 3be155bd by Adam Palay

fix tests, remove zh_CN from config until we have support

parent ac1ac2d9
{
"locales" : ["en", "zh_CN"],
"locales" : ["en"],
"dummy-locale" : "fr"
}
......@@ -46,7 +46,7 @@ class TestGenerate(TestCase):
path = os.path.join(CONFIGURATION.get_messages_dir(locale), mofile)
exists = os.path.exists(path)
self.assertTrue(exists, msg='Missing file in locale %s: %s' % (locale, mofile))
self.assertTrue(datetime.fromtimestamp(os.path.getmtime(path)) >= self.start_time,
self.assertTrue(datetime.fromtimestamp(os.path.getmtime(path), UTC) >= self.start_time,
msg='File not recently modified: %s' % path)
self.assert_merge_headers(locale)
......
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