Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
di committed Aug 29, 2024
1 parent 17e9d45 commit 6a55e5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/functional/api/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,14 @@ def test_simple_attestations_from_upload(webtest):
serialized_macaroon = f"pypi-{m.serialize()}"

credentials = base64.b64encode(
f"__token__:{serialized_macaroon}".encode("utf-8")
f"__token__:{serialized_macaroon}".encode()
).decode("utf-8")

with open("./tests/functional/_fixtures/sampleproject-3.0.0.tar.gz", "rb") as f:
content = f.read()

with open(
"./tests/functional/_fixtures/sampleproject-3.0.0.tar.gz.publish.attestation",
"r",
) as f:
attestation = f.read()

Expand Down

0 comments on commit 6a55e5c

Please sign in to comment.