Commit 466a5653 authored by Abhilash Raj's avatar Abhilash Raj

Merge branch 'master' into 'master'

Fixes #80

See merge request !160
parents 8718d252 1311bf81
Pipeline #4319926 passed with stage
in 2 minutes and 50 seconds
......@@ -100,6 +100,20 @@ class TestSubscription(ViewTestCase):
args=('', )))
def test_banned_address(self):
# Impossible to register with a banned address
self.client.login(username='testuser', password='pwd')
response =
reverse('list_subscribe', args=('', )),
{'email': ''})
self.assertEqual(len(self.open_list.members), 0)
self.assertEqual(len(self.open_list.requests), 0)
response, reverse('list_summary',
args=('', )))
def test_subscribe_mod(self):
# The subscription is held for approval.
self.client.login(username='testuser', password='pwd')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment