Skip to content

Commit

Permalink
test: fix test so it always attempts to delete fork
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Sep 25, 2023
1 parent 64c2461 commit 8c47785
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ def test_missing_gateway_secret(client):
def test_create_fork(client):
assert len(client.get_forks()) == 0
fork = client.create_fork(1)
assert fork in client.get_forks()
client.remove_fork(fork.id)
try:
assert fork in client.get_forks()
finally:
client.remove_fork(fork.id)

0 comments on commit 8c47785

Please sign in to comment.