def make_fake_client():
 client = docker.DockerClient()
 client.api = make_fake_api_client()
 return client

def make_fake_client ( ) : client = docker . DockerClient ( ) client . api = make_fake_api_client ( ) return client
returns a client with a fake apiclient .