From 059588c7bc79ad11c7e5b5c8ce50c9b09db3c6f2 Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Wed, 10 May 2023 22:10:48 -0400 Subject: [PATCH] tests: ensure test_status can run without depending on creating a keyring --- tests/unit/commands/test_status.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/commands/test_status.py b/tests/unit/commands/test_status.py index 471a3ef947..9227805a80 100644 --- a/tests/unit/commands/test_status.py +++ b/tests/unit/commands/test_status.py @@ -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) @@ -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) @@ -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 = []