def test_transfer_credits(self):
    self.cl.stub_request("clients/%s/credits.json" % self.cl.client_id, "transfer_credits.json")
    result = self.cl.transfer_credits(200, False)
    self.assertEquals(result.AccountCredits, 800)
    self.assertEquals(result.ClientCredits, 200)
dataset/ETHPy150Open campaignmonitor/createsend-python/test/test_client.py/ClientTestCase.test_transfer_credits/original