1
0
mirror of https://github.com/bspeice/metrik synced 2024-11-23 07:38:09 -05:00

Fix a bad test-case (again)

This commit is contained in:
Bradlee Speice 2016-08-30 09:26:16 -04:00
parent 4bc3f53081
commit 52049b7d0f

View File

@ -10,8 +10,9 @@ class ConfigurationTest(TestCase):
assert config is not None assert config is not None
def test_config_manual_test_instruction(self): def test_config_manual_test_instruction(self):
# This assertion will fail if you're not using pytest or running on Travis
config = get_config() config = get_config()
self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik') self.assertEqual(config.get('metrik', 'mongo_database'), 'metrik-test')
# This assertion will fail if you're not using pytest or running on Travis # This assertion will fail if you're not using pytest or running on Travis
config = get_config(is_test=False) config = get_config(is_test=False)