@@ -92,7 +92,6 @@ def test_find_file_with_non_existent_file(self):
92
92
def test_generate_cache_entry_from_package_xml_bad_metadata (self ):
93
93
"""Given an invalid metadata file, no cache entry is generated, but also no exception is
94
94
raised."""
95
- ace = AddonCatalog .AddonCatalogEntry ({"git_ref" : "main" })
96
95
file_path = os .path .abspath (
97
96
os .path .join ("home" , "cache" , "TestMod" , "1-main" , "package.xml" )
98
97
)
@@ -106,7 +105,6 @@ def test_generate_cache_entry_from_package_xml_bad_metadata(self):
106
105
def test_generate_cache_entry_from_package_xml (self , _ ):
107
106
"""Given a good metadata file, its contents are embedded into the cache."""
108
107
109
- ace = AddonCatalog .AddonCatalogEntry ({"git_ref" : "main" })
110
108
file_path = os .path .abspath (
111
109
os .path .join ("home" , "cache" , "TestMod" , "1-main" , "package.xml" )
112
110
)
@@ -124,7 +122,6 @@ def test_generate_cache_entry_from_package_xml_with_icon(self, mock_icon, _):
124
122
"""Given a metadata file that contains an icon, that icon's contents are
125
123
base64-encoded and embedded in the cache."""
126
124
127
- ace = AddonCatalog .AddonCatalogEntry ({"git_ref" : "main" })
128
125
file_path = os .path .abspath (
129
126
os .path .join ("home" , "cache" , "TestMod" , "1-main" , "package.xml" )
130
127
)
0 commit comments