From b534df242be4945854a43ddb60ad220d03ffbcbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jotag=C3=AA=20Sales?= Date: Tue, 5 Mar 2019 14:36:54 -0300 Subject: [PATCH] rename config in class in test_config --- tests/test_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index 03db4df3..8dcb74f5 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -17,20 +17,20 @@ def temp_path(): yield Path(td, "file") -class Config: +class ConfigTest: not_for_config = 'should not be used' CONFIG_VALUE = 'should be used' def test_load_from_object(app): - app.config.from_object(Config) + app.config.from_object(ConfigTest) assert "CONFIG_VALUE" in app.config assert app.config.CONFIG_VALUE == "should be used" assert "not_for_config" not in app.config def test_load_from_object_string(app): - app.config.from_object('test_config.Config') + app.config.from_object('test_config.ConfigTest') assert 'CONFIG_VALUE' in app.config assert app.config.CONFIG_VALUE == 'should be used' assert 'not_for_config' not in app.config