Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
asadali145 committed May 15, 2024
1 parent 6710694 commit e8fc547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voucher/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_voucher_upload_path(voucher_and_exact_match_with_coupon):
voucher = voucher_and_exact_match_with_coupon.voucher
assert (
re.match(
rf"vouchers\/\w{8}\-\w{4}\-\w{4}\-\w{4}-\w{12}_{voucher.pdf.name}",
r"vouchers\/\w{8}\-\w{4}\-\w{4}\-\w{4}-\w{12}_%s" % voucher.pdf.name, # noqa: UP031
voucher_upload_path(voucher, voucher.pdf.name),
)
is not None
Expand Down

0 comments on commit e8fc547

Please sign in to comment.