コード例 #1
0
ファイル: test_config.py プロジェクト: twalcari/quart
def test_config_from_json() -> None:
    config = Config(Path(__file__).parent)
    config.from_json('assets/config.json')
    _check_standard_config(config)
コード例 #2
0
def test_config_from_json() -> None:
    config = Config(os.path.dirname(__file__))
    config.from_json('assets/config.json')
    _check_standard_config(config)