~black-perl/postorius/fix-1443433

« back to all changes in this revision

Viewing changes to src/postorius/tests/mailman_api_tests/test_list_members.py

  • Committer: Florian Fuchs
  • Date: 2015-04-10 21:06:10 UTC
  • Revision ID: flo.fuchs@gmail.com-20150410210610-knl7hoz81c11n29t
django_browserid init: use included JS script instead of making the method call in the page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from django.contrib.auth.models import User
20
20
from django.core.urlresolvers import reverse
21
 
from django.test import Client, SimpleTestCase
 
21
from django.test import Client, TestCase
22
22
from django.test.utils import override_settings
23
23
from urllib2 import HTTPError
24
24
 
37
37
 
38
38
 
39
39
@override_settings(**API_CREDENTIALS)
40
 
class ListMembersAccessTest(SimpleTestCase):
 
40
class ListMembersAccessTest(TestCase):
41
41
    """Tests for the list members page.
42
42
 
43
43
    Tests permissions and creation of list owners and moderators.
109
109
 
110
110
 
111
111
@override_settings(**API_CREDENTIALS)
112
 
class AddOwnerTest(SimpleTestCase):
 
112
class AddOwnerTest(TestCase):
113
113
    """Tests for the list members page.
114
114
 
115
115
    Tests creation of list owners.
143
143
 
144
144
 
145
145
@override_settings(**API_CREDENTIALS)
146
 
class AddModeratorTest(SimpleTestCase):
 
146
class AddModeratorTest(TestCase):
147
147
    """Tests for the list members page.
148
148
 
149
149
    Tests creation of moderators.