def test_simple(self):
    resp = self.client.get('/auth/logout/')
    assert (resp.status_code == 302)
    assert (resp.headers['Location'] == 'http://localhost/')
def test_simple(self):
    resp = self.client.get('/auth/logout/')
    assert (resp.status_code == 302)
    assert (resp.headers['Location'] == 'http://localhost/')