initial commit
This commit is contained in:
11
tests/test_load_config.py
Normal file
11
tests/test_load_config.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user