Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd committed Jul 17, 2024
1 parent ad97547 commit a335f79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lambdas/pkgpush/tests/test_hash_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,15 @@ def test_invoke_hash_lambda(lambda_stub: Stubber):
"key": pk.path,
"version": pk.version_id,
},
}
},
separators=(',', ':'),
),
},
)

assert (
t4_lambda_pkgpush.invoke_hash_lambda(pk, CREDENTIALS, SCRATCH_BUCKETS)
== checksum
== Checksum(**checksum)
)


Expand Down Expand Up @@ -164,7 +165,8 @@ def test_invoke_hash_lambda_error(lambda_stub: Stubber):
"key": pk.path,
"version": pk.version_id,
},
}
},
separators=(',', ':'),
),
},
)
Expand Down

0 comments on commit a335f79

Please sign in to comment.