Commit 0fb69cde authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Update tests

parent 8cccbc87
......@@ -108,6 +108,12 @@ class ShibbolethTests(TestCase):
signup_url = reverse('signup')
# invalid request
invalid_data = copy.copy(post_data)
invalid_data['provider'] = ''
r = client.post(signup_url, invalid_data, follow=True)
self.assertRedirects(r, reverse('signup'))
# invlid email
post_data['email'] = 'kpap'
r = client.post(signup_url, post_data)
......
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