Skip to content

Commit

Permalink
Cast to sets before comparing dict keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ethho committed Sep 12, 2024
1 parent fe9f149 commit 54138c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_cli_config():

stdout, stderr = process.communicate()
cleaned = stdout.strip(" >\t\n\r")
assert dj.config.keys() == ast.literal_eval(cleaned).keys()
assert set(dj.config.keys()) == set(ast.literal_eval(cleaned).keys())


def test_cli_args():
Expand Down

0 comments on commit 54138c3

Please sign in to comment.