Files
scgenerator/tests/test_load_config.py
Benoît Sierro bf8e2ec0b1 initial commit
2021-01-28 22:43:54 +01:00

11 lines
274 B
Python

import toml
from prettyprinter import pprint
import json
config = toml.load("tests/test_config.toml")
pprint(config)
with open("tests/test_config.toml") as file:
config = toml.load(file)
# with open("tests/test_config.json", "w") as file:
# json.dump(config, file)