Skip to content

Commit

Permalink
Fix dummy_repo fixture
Browse files Browse the repository at this point in the history
dummy_remote_session_object wasn't cleaning after itself
(using return instead of yield)
  • Loading branch information
beenje committed Dec 3, 2023
1 parent 2210304 commit 5d59e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quetz/tests/test_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def close(self):

app.dependency_overrides[get_remote_session] = DummySession

return DummySession()
yield DummySession()

app.dependency_overrides.pop(get_remote_session)

Expand Down

0 comments on commit 5d59e0c

Please sign in to comment.