Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: ensure test_status tests are self-contained #4133

Merged
merged 4 commits into from
May 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/unit/commands/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def test_list_tracks(emitter, command_class):
##########################


@pytest.mark.usefixtures("fake_store_list_revisions")
@pytest.mark.usefixtures("memory_keyring", "fake_store_list_revisions")
def test_list_revisions(emitter):
cmd = commands.StoreListRevisionsCommand(None)

Expand All @@ -707,7 +707,7 @@ def test_list_revisions(emitter):
)


@pytest.mark.usefixtures("fake_store_list_revisions")
@pytest.mark.usefixtures("memory_keyring", "fake_store_list_revisions")
def test_list_revisions_arch(emitter):
cmd = commands.StoreListRevisionsCommand(None)

Expand All @@ -722,7 +722,7 @@ def test_list_revisions_arch(emitter):
)


@pytest.mark.usefixtures("fake_store_list_revisions")
@pytest.mark.usefixtures("memory_keyring", "fake_store_list_revisions")
def test_list_revisions_no_release_information(emitter, list_revisions_result):
list_revisions_result.releases = []

Expand Down