Skip to content

Commit

Permalink
tests: test generating defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Aug 21, 2021
1 parent 9f5ae35 commit 40f12b6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/test_configurave.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,12 @@ class Config:
assert "root_url" in str(c._crve_configs)
assert c.root_url == "test url"

# print("Defaults toml file:\n" + c.generate_defaults())
default_toml = (
"# The test configuration for configurave.\n"
"# This is an autogenerated default configuration file written by Configurave\n\n"
"# (str): The root url configuration for the application\n"
"# root_url = \n"
"# Description: A long ass multiline description goes here about all the\n"
"# options you could potentially decide upon using.\n"
)
assert c.defaults_toml() == default_toml

0 comments on commit 40f12b6

Please sign in to comment.