mirror of
https://github.com/bspeice/metrik
synced 2024-11-23 07:38:09 -05:00
Fix a bad test-case
This commit is contained in:
parent
84d8103c29
commit
4bc3f53081
@ -13,8 +13,9 @@ class ConfigurationTest(TestCase):
|
||||
config = get_config()
|
||||
self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik')
|
||||
|
||||
# This assertion will fail if you're not using pytest or running on Travis
|
||||
config = get_config(is_test=False)
|
||||
self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik')
|
||||
self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik-test')
|
||||
|
||||
config = get_config(is_test=True)
|
||||
self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik-test')
|
Loading…
Reference in New Issue
Block a user