Skip to content

Commit e9d947f

Browse files
committed
Remove unused variables
1 parent 2a36f3e commit e9d947f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

AddonManagerTest/app/test_addon_catalog_cache_creator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def test_find_file_with_non_existent_file(self):
9292
def test_generate_cache_entry_from_package_xml_bad_metadata(self):
9393
"""Given an invalid metadata file, no cache entry is generated, but also no exception is
9494
raised."""
95-
ace = AddonCatalog.AddonCatalogEntry({"git_ref": "main"})
9695
file_path = os.path.abspath(
9796
os.path.join("home", "cache", "TestMod", "1-main", "package.xml")
9897
)
@@ -106,7 +105,6 @@ def test_generate_cache_entry_from_package_xml_bad_metadata(self):
106105
def test_generate_cache_entry_from_package_xml(self, _):
107106
"""Given a good metadata file, its contents are embedded into the cache."""
108107

109-
ace = AddonCatalog.AddonCatalogEntry({"git_ref": "main"})
110108
file_path = os.path.abspath(
111109
os.path.join("home", "cache", "TestMod", "1-main", "package.xml")
112110
)
@@ -124,7 +122,6 @@ def test_generate_cache_entry_from_package_xml_with_icon(self, mock_icon, _):
124122
"""Given a metadata file that contains an icon, that icon's contents are
125123
base64-encoded and embedded in the cache."""
126124

127-
ace = AddonCatalog.AddonCatalogEntry({"git_ref": "main"})
128125
file_path = os.path.abspath(
129126
os.path.join("home", "cache", "TestMod", "1-main", "package.xml")
130127
)

0 commit comments

Comments
 (0)