'https://httpbin.org/cookies/set?name=value'

def test_remote_set_cookie(self):

    self.rv = self.client.get(self.url('/cookies/set?k1=value1&k2=value2'), environ_base=env(), headers=headers())
    self.assertEqual(2, len(self.rv.headers.get_all('Set-Cookie')), msg=self.dump())
    for set_cookie_header in self.rv.headers.get_all('Set-Cookie'):
        if (not (('k1=value1' in set_cookie_header) or ('k2=value2' in set_cookie_header))):
            raise ValueError(('cookie    set    error' + self.dump()))
    self.assertEqual(302, self.rv.status_code, msg=self.dump())
