We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54138c3 commit cfd3953Copy full SHA for cfd3953
tests/test_cli.py
@@ -62,7 +62,8 @@ def test_cli_config():
62
63
stdout, stderr = process.communicate()
64
cleaned = stdout.strip(" >\t\n\r")
65
- assert set(dj.config.keys()) == set(ast.literal_eval(cleaned).keys())
+ for key in ("database.user", "database.password", "database.host"):
66
+ assert key in cleaned, f"Key {key} not found in config from stdout: {cleaned}"
67
68
69
def test_cli_args():
0 commit comments