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.
2 parents 3a6f9fe + ed4724a commit ace3a22Copy full SHA for ace3a22
1 file changed
server_environment/tests/test_environment_variable.py
@@ -24,7 +24,8 @@ def test_env_variables(self):
24
secret = "[section]\n" "bar=foo\n" "alice=bob\n"
25
with self.set_config_dir(None), self.set_env_variables(public, secret):
26
parser = server_env._load_config()
27
- self.assertEqual(list(parser.keys()), ["DEFAULT", "section"])
+ self.assertIn("DEFAULT", list(parser.keys()))
28
+ self.assertIn("section", list(parser.keys()))
29
self.assertDictEqual(
30
dict(parser["section"].items()),
31
{"alice": "bob", "bar": "foo", "foo": "bar"},
0 commit comments