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 ace9485..340b640 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_index.py +++ b/src/postorius/tests/mailman_api_tests/test_list_index.py @@ -40,7 +40,6 @@ @MM_VCR.use_cassette('test_list_index.yaml') def setUp(self): - self.client = Client() try: self.domain = get_client().create_domain('example.com') except HTTPError: diff --git a/src/postorius/tests/mailman_api_tests/test_list_members.py b/src/postorius/tests/mailman_api_tests/test_list_members.py index 3da46a2..5e23e4f 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_members.py +++ b/src/postorius/tests/mailman_api_tests/test_list_members.py @@ -46,7 +46,6 @@ @MM_VCR.use_cassette('list_members_access.yaml') def setUp(self): - self.client = Client() try: self.domain = get_client().create_domain('example.com') except HTTPError: @@ -123,7 +122,6 @@ @MM_VCR.use_cassette('test_list_members_owner.yaml') def setUp(self): - self.client = Client() self.mm_client = get_client() try: self.domain = self.mm_client.create_domain('example.com') @@ -211,7 +209,6 @@ @MM_VCR.use_cassette('test_list_members_add_moderator.yaml') def setUp(self): - self.client = Client() try: self.domain = get_client().create_domain('example.com') except HTTPError: diff --git a/src/postorius/tests/mailman_api_tests/test_list_metrics.py b/src/postorius/tests/mailman_api_tests/test_list_metrics.py index 6015391..4c6ed20 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_metrics.py +++ b/src/postorius/tests/mailman_api_tests/test_list_metrics.py @@ -30,7 +30,6 @@ @MM_VCR.use_cassette('test_list_metrics.yaml') def setUp(self): self.mm_client = get_client() - self.client = Client() try: self.domain = self.mm_client.create_domain('example.org') except HTTPError: 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 b8d1fdc..3549c65 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_new.py +++ b/src/postorius/tests/mailman_api_tests/test_list_new.py @@ -43,7 +43,6 @@ @MM_VCR.use_cassette('test_list_creation.yaml') def setUp(self): - self.client = Client() self.user = User.objects.create_user('user', 'user@example.com', 'pwd') self.superuser = User.objects.create_superuser('su', 'su@example.com', 'pwd') 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 b5c8b5d..c2e9a85 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_summary.py +++ b/src/postorius/tests/mailman_api_tests/test_list_summary.py @@ -45,7 +45,6 @@ @MM_VCR.use_cassette('test_list_summary.yaml') def setUp(self): - self.client = Client() self.mmclient = get_client() try: domain = self.mmclient.create_domain('example.com') diff --git a/src/postorius/tests/mailman_api_tests/test_models.py b/src/postorius/tests/mailman_api_tests/test_models.py index f38d6bc..5285462 100644 --- a/src/postorius/tests/mailman_api_tests/test_models.py +++ b/src/postorius/tests/mailman_api_tests/test_models.py @@ -41,7 +41,6 @@ @MM_VCR.use_cassette('test_model.yaml') def setUp(self): - self.client = Client() self.mmclient = get_client() try: self.domain = get_client().create_domain('example.com') diff --git a/src/postorius/tests/test_address_activation.py b/src/postorius/tests/test_address_activation.py index 71877ca..c1e9f43 100644 --- a/src/postorius/tests/test_address_activation.py +++ b/src/postorius/tests/test_address_activation.py @@ -60,7 +60,6 @@ # We don't use Client().login because it triggers the browserid dance. self.user = User.objects.create_user( username='les', email='les@example.org', password='secret') - self.client = Client() self.client.post(reverse('user_login'), {'username': 'les', 'password': 'secret'})