'On logout, delete the SESSION_EXISTS_COOKIE.'

def test_logout_deletes_cookie(self):

    url = reverse('users.logout')
    res = self.client.post(url)
    assert (settings.SESSION_EXISTS_COOKIE in res.cookies)
    c = res.cookies[settings.SESSION_EXISTS_COOKIE]
    assert ('1970' in c['expires'])
