diff --git a/app/pgp/tests.py b/app/pgp/tests.py
index ec99b6c4fab8f6b4b1d9010bf76a7b15e3918cee..5d9e3eb4cb1ad8426d355753afd1c86e4f7bb499 100644
--- a/app/pgp/tests.py
+++ b/app/pgp/tests.py
@@ -59,6 +59,7 @@ class KeyDecodeErrorTestCase(TestCase):
         )
         any_user = Group.objects.get(name="any-user")
         assign_perm('view_publickey', any_user, self.toykey)
+        assign_perm('list_publickey', any_user, self.toykey)
 
     def test_detail(self):
         """Check that the detail page loads successfully"""