Skip to content

Commit 1dcb8aa

Browse files
committed
Move test_package away from on-disc test fixtures
The tests in this module do not care about the content of the wheel.
1 parent c724298 commit 1dcb8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_package.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def test_package_signed_name_is_correct():
116116
assert package.signed_filename == (filename + ".asc")
117117

118118

119-
def test_package_add_attestations(tmp_path):
120-
package = package_file.PackageFile.from_filename(helpers.WHEEL_FIXTURE, None)
119+
def test_package_add_attestations(tmp_path, test_wheel):
120+
package = package_file.PackageFile.from_filename(str(test_wheel), None)
121121

122122
assert package.attestations is None
123123

0 commit comments

Comments
 (0)