'User should be able to delete own keys, but no one else\'s'

def test_delete_key(self):

    url = reverse('authkeys.delete', args=(self.key3.pk,), locale='en-US')
    resp = self.client.get(url, follow=True)
    eq_(403, resp.status_code)
    resp = self.client.post(url, follow=False)
    ok_(403, resp.status_code)
    url = reverse('authkeys.delete', args=(self.key1.pk,), locale='en-US')
    resp = self.client.get(url, follow=True)
    eq_(200, resp.status_code)
    page = pq(resp.content)
    eq_(self.key1.description, page.find('.description').text())
    resp = self.client.post(url, follow=False)
    ok_(302, resp.status_code)
    eq_(0, Key.objects.filter(pk=self.key1.pk).count())
