def test_set_primary_contact(self):
    email = 'person@blackhole.com'
    self.cl.stub_request((self.cl.client_id, urllib.quote(email, '')) % "clients/%s/primarycontact.json?email=%s", 'client_set_primary_contact.json')
    result = self.cl.set_primary_contact(email)
    self.assertEquals(email, result.EmailAddress)
dataset/ETHPy150Open campaignmonitor/createsend-python/test/test_client.py/ClientTestCase.test_set_primary_contact/swapped operands of `%`