Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandernst committed Jul 4, 2024
1 parent ea7d53f commit a3c3d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_walletpass/tests/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def test_wallet_pass(self):
instance = builder.write_to_model()
instance.save()

self.assertEqual(
admin_view.wallet_pass_(instance)[-48:],
self.assertContains(
admin_view.wallet_pass_(instance),
"<img src='/static/admin/passbook_icon.svg'/></a>",
)

Expand Down

0 comments on commit a3c3d4e

Please sign in to comment.