Commit 8ff2858c authored by Simon Hanna's avatar Simon Hanna

Remove no longer needed code

parent 2b90035a
......@@ -95,11 +95,6 @@ class AddRemoveOwnerTest(ViewTestCase):
self.client.login(username='su', password='pwd')
self.mm_client.get_list('foo@example.com').add_owner('su@example.com')
def tearDown(self):
self.foo_list.delete()
self.su.delete()
self.domain.delete()
def test_add_remove_owner(self):
url = reverse('list_members', args=('foo@example.com', 'owner',))
response = self.client.post(url, {'email': 'newowner@example.com'})
......
......@@ -54,14 +54,6 @@ class TestSubscription(ViewTestCase):
for address in self.mm_user.addresses:
address.verify()
def tearDown(self):
# XXX remove the method if core cleares requests on list deletion
for req in self.open_list.requests:
self.open_list.moderate_request(req['token'], 'discard')
for req in self.mod_list.requests:
self.mod_list.moderate_request(req['token'], 'discard')
super(TestSubscription, self).tearDown()
@patch('mailmanclient._client.MailingList.subscribe')
def test_anonymous_subscribe(self, mock_subscribe):
response = self.client.post(
......
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