Skip to content

Commit

Permalink
Update call to renamed management command
Browse files Browse the repository at this point in the history
Remove print statements
No-Issue
  • Loading branch information
bmclaughlin committed Mar 1, 2024
1 parent ee41a88 commit e0c0b73
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,5 @@ def setUp(self):
]
def test_json_returned_from_cmd(self):
output = StringIO()
call_command("dump_auth_config", stdout=output)

print(f"expected_config json dumped:\n{json.dumps(self.expected_config)}")
print(f"output.getvalue():\n{output.getvalue().rstrip()}")

call_command("dump-auth-config", stdout=output)
assert output.getvalue().rstrip() == json.dumps(self.expected_config)

0 comments on commit e0c0b73

Please sign in to comment.