i18n tests don't regenerate checked-in eo files

This commit is contained in:
Sarina Canelake
2014-03-06 08:58:09 -05:00
parent cc8594acd2
commit fbc76c5c48

View File

@@ -40,7 +40,8 @@ class TestGenerate(TestCase):
self.assertTrue(os.path.exists(filename))
os.remove(filename)
@patch.object(CONFIGURATION, 'locales', ['eo'])
# Patch dummy_locales to not have esperanto present
@patch.object(CONFIGURATION, 'dummy_locales', ['fake2'])
def test_main(self):
"""
Runs generate.main() which should merge source files,