aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/rest/tests/test_lists.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/rest/tests/test_lists.py')
-rw-r--r--src/mailman_pgp/rest/tests/test_lists.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman_pgp/rest/tests/test_lists.py b/src/mailman_pgp/rest/tests/test_lists.py
index 8044a8f..a674cc9 100644
--- a/src/mailman_pgp/rest/tests/test_lists.py
+++ b/src/mailman_pgp/rest/tests/test_lists.py
@@ -54,6 +54,10 @@ class TestLists(TestCase):
'http://localhost:9001/3.1/plugins/pgp/lists/'
'test.example.com')
self.assertEqual(json['list_id'], self.mlist.list_id)
+ json, response = call_api(
+ 'http://localhost:9001/3.1/plugins/pgp/lists/'
+ 'test@example.com')
+ self.assertEqual(json['list_id'], self.mlist.list_id)
def test_get_list_key(self):
with mm_transaction():