def test_config_from_object() -> None: config = Config(os.path.dirname(__file__)) config.from_object(__name__) _check_standard_config(config)
def test_config_from_object() -> None: config = Config(Path(__file__).parent) config.from_object(__name__) _check_standard_config(config)
def test_config_from_object() -> None: config = Config(os.path.dirname(__file__)) config.from_object(__name__) assert config['TEST_KEY'] == 'test_value'