def METHOD_NAME(self, ):
    self.logout()
    self.login_as(self.user)
    name = self.user.username
    repo = seafile_api.get_repo(self.create_repo(name='test-repo', desc='',
                                                username=name,
                                                passwd=None))
    remove_status = self.remove_repo(repo.id)
    assert remove_status == 0
    response = self.client.post(
            reverse("api2-v2.1-deleted-repos"),
            {"repo_id": repo.id}
            )
    self.assertEqual(response.status_code, 200)