Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sablotny <[email protected]>
  • Loading branch information
susperius committed Aug 21, 2024
1 parent 0416c11 commit bd7776c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/signing/in_toto_signature_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _hasher_factory(self, path: pathlib.Path) -> file.FileHasher:

def test_sharded_payload_to_manifest(self, sample_model_folder):
signer = in_toto_signature.IntotoSigner(fake.FakeSigner())
verifier = in_toto_signature.IntotoVerifier(fake.Verifier())
verifier = in_toto_signature.IntotoVerifier(fake.FakeVerifier())
shard_serializer = serialize_by_file_shard.ManifestSerializer(
self._shard_hasher_factory, allow_symlinks=True
)
Expand All @@ -51,7 +51,7 @@ def test_sharded_payload_to_manifest(self, sample_model_folder):

def test_digest_sharded_payload_to_manifest(self, sample_model_folder):
signer = in_toto_signature.IntotoSigner(fake.FakeSigner())
verifier = in_toto_signature.IntotoVerifier(fake.Verifier())
verifier = in_toto_signature.IntotoVerifier(fake.FakeVerifier())
shard_serializer = serialize_by_file_shard.ManifestSerializer(
self._shard_hasher_factory, allow_symlinks=True
)
Expand All @@ -66,7 +66,7 @@ def test_digest_sharded_payload_to_manifest(self, sample_model_folder):

def test_digest_of_digest_payload_to_manifest(self, sample_model_folder):
signer = in_toto_signature.IntotoSigner(fake.FakeSigner())
verifier = in_toto_signature.IntotoVerifier(fake.Verifier())
verifier = in_toto_signature.IntotoVerifier(fake.FakeVerifier())
file_serializer = serialize_by_file.ManifestSerializer(
self._hasher_factory, allow_symlinks=True
)
Expand All @@ -81,7 +81,7 @@ def test_digest_of_digest_payload_to_manifest(self, sample_model_folder):

def test_digest_payload_to_manifest(self, sample_model_folder):
signer = in_toto_signature.IntotoSigner(fake.FakeSigner())
verifier = in_toto_signature.IntotoVerifier(fake.Verifier())
verifier = in_toto_signature.IntotoVerifier(fake.FakeVerifier())
file_serializer = serialize_by_file.ManifestSerializer(
self._hasher_factory, allow_symlinks=True
)
Expand Down

0 comments on commit bd7776c

Please sign in to comment.