Skip to content

Commit

Permalink
Move test_package away from on-disc test fixtures
Browse files Browse the repository at this point in the history
The tests in this module do not care about the content of the wheel.
  • Loading branch information
dnicolodi committed Jan 10, 2025
1 parent c724298 commit 1dcb8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def test_package_signed_name_is_correct():
assert package.signed_filename == (filename + ".asc")


def test_package_add_attestations(tmp_path):
package = package_file.PackageFile.from_filename(helpers.WHEEL_FIXTURE, None)
def test_package_add_attestations(tmp_path, test_wheel):
package = package_file.PackageFile.from_filename(str(test_wheel), None)

assert package.attestations is None

Expand Down

0 comments on commit 1dcb8aa

Please sign in to comment.