Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
self.cl = Client(
{"access_token": "ASP95S4aR+9KsgfHB0dapTYxNA==", "refresh_token": "5S4aASP9R+9KsgfHB0dapTYxNA=="}, "4a397ccaaa55eb4e6aa1221e1e2d7122")
def test_create(self):
c = Client()
c.stub_request("clients.json", "create_client.json")
client_id = c.create(
"Client Company Name", "(GMT+10:00) Canberra, Melbourne, Sydney", "Australia")
self.assertEquals("32a381c49a2df99f1d0c6f3c112352b9", client_id)
self.assertEquals("32a381c49a2df99f1d0c6f3c112352b9", c.client_id)