diff --git a/django_walletpass/tests/main.py b/django_walletpass/tests/main.py index d5e659e..5286c34 100644 --- a/django_walletpass/tests/main.py +++ b/django_walletpass/tests/main.py @@ -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), "", )