diff --git a/src/postorius/tests/mailman_api_tests/test_domain_index.py b/src/postorius/tests/mailman_api_tests/test_domain_index.py index bf545a7..7f1d9f2 100644 --- a/src/postorius/tests/mailman_api_tests/test_domain_index.py +++ b/src/postorius/tests/mailman_api_tests/test_domain_index.py @@ -18,7 +18,7 @@ import logging from django.core.urlresolvers import reverse -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase from django.contrib.auth.models import User try: from urllib2 import HTTPError @@ -34,7 +34,7 @@ vcr_log.setLevel(logging.WARNING) -class DomainIndexPageTest(SimpleTestCase): +class DomainIndexPageTest(TestCase): """Tests for the list index page.""" @MM_VCR.use_cassette('test_domain_index.yaml') diff --git a/src/postorius/tests/mailman_api_tests/test_domain_new.py b/src/postorius/tests/mailman_api_tests/test_domain_new.py index ebf541a..b8fb6a9 100644 --- a/src/postorius/tests/mailman_api_tests/test_domain_new.py +++ b/src/postorius/tests/mailman_api_tests/test_domain_new.py @@ -21,7 +21,7 @@ from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.shortcuts import resolve_url -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase try: from urllib2 import HTTPError @@ -37,7 +37,7 @@ vcr_log.setLevel(logging.WARNING) -class DomainCreationTest(SimpleTestCase): +class DomainCreationTest(TestCase): """Tests for the new list page.""" @MM_VCR.use_cassette('test_domain_creation.yaml') diff --git a/src/postorius/tests/mailman_api_tests/test_list_index.py b/src/postorius/tests/mailman_api_tests/test_list_index.py index ba1551c..30c7706 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_index.py +++ b/src/postorius/tests/mailman_api_tests/test_list_index.py @@ -18,7 +18,7 @@ import logging from django.core.urlresolvers import reverse -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase try: from urllib2 import HTTPError except ImportError: @@ -33,7 +33,7 @@ vcr_log.setLevel(logging.WARNING) -class ListIndexPageTest(SimpleTestCase): +class ListIndexPageTest(TestCase): """Tests for the list index page.""" @MM_VCR.use_cassette('test_list_index.yaml') diff --git a/src/postorius/tests/mailman_api_tests/test_list_new.py b/src/postorius/tests/mailman_api_tests/test_list_new.py index e835775..95b9943 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_new.py +++ b/src/postorius/tests/mailman_api_tests/test_list_new.py @@ -21,7 +21,7 @@ from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.shortcuts import resolve_url -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase try: from urllib2 import HTTPError @@ -37,7 +37,7 @@ vcr_log.setLevel(logging.WARNING) -class ListCreationTest(SimpleTestCase): +class ListCreationTest(TestCase): """Tests for the new list page.""" @MM_VCR.use_cassette('test_list_creation.yaml') diff --git a/src/postorius/tests/mailman_api_tests/test_list_summary.py b/src/postorius/tests/mailman_api_tests/test_list_summary.py index 163686c..3e799f1 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_summary.py +++ b/src/postorius/tests/mailman_api_tests/test_list_summary.py @@ -19,7 +19,7 @@ from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.db import IntegrityError -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase try: from urllib2 import HTTPError except ImportError: @@ -34,7 +34,7 @@ vcr_log.setLevel(logging.WARNING) -class ListSummaryPageTest(SimpleTestCase): +class ListSummaryPageTest(TestCase): """Tests for the list summary page. Tests accessiblity and existince of the submit form depending on diff --git a/src/postorius/tests/mailman_api_tests/test_models.py b/src/postorius/tests/mailman_api_tests/test_models.py index 33947f6..b121204 100644 --- a/src/postorius/tests/mailman_api_tests/test_models.py +++ b/src/postorius/tests/mailman_api_tests/test_models.py @@ -19,7 +19,7 @@ from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.db import IntegrityError -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase try: from urllib2 import HTTPError except ImportError: @@ -34,7 +34,7 @@ vcr_log.setLevel(logging.WARNING) -class ModelTest(SimpleTestCase): +class ModelTest(TestCase): """Tests for the list index page.""" @MM_VCR.use_cassette('test_model.yaml')