Skip to content

Commit

Permalink
Merge PR #218 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by etobella
  • Loading branch information
OCA-git-bot committed Dec 18, 2024
2 parents 07d321d + 2806a6c commit 46f91ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server_environment/tests/test_environment_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def test_env_variables(self):
secret = "[section]\n" "bar=foo\n" "alice=bob\n"
with self.set_config_dir(None), self.set_env_variables(public, secret):
parser = server_env._load_config()
self.assertEqual(list(parser.keys()), ["DEFAULT", "section"])
self.assertIn("DEFAULT", list(parser.keys()))
self.assertIn("section", list(parser.keys()))
self.assertDictEqual(
dict(parser["section"].items()),
{"alice": "bob", "bar": "foo", "foo": "bar"},
Expand Down

0 comments on commit 46f91ea

Please sign in to comment.