Skip to content

Commit

Permalink
Fix collaborators integration test to avoid infinite loop...oops
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermak committed Oct 2, 2023
1 parent f615464 commit c0e4bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration_tests/test_plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ def test_delete_collaborators():
result = runner.invoke(
app,
["plans", "collaborators", "delete"],
input=str(plan_id) + "\n" + user_to_delete + "\n",
input=str(plan_id) + "\n" + "1" + "\n",
catch_exceptions=False,
)
assert result.exit_code == 0, f"{result.stdout} {result.stderr}"

assert user_to_delete not in result.stdout
assert "Success" in result.stdout


#######################
Expand Down

0 comments on commit c0e4bfc

Please sign in to comment.