

def test_push(self, mock_client):
    self.client = DockerClient()
    self.client.push('ozzy/embryo', 'v4')
    docker_push = self.client.client.push
    docker_push.assert_called_once_with('ozzy/embryo', tag='v4', insecure_registry=True, stream=True)

dataset/ETHPy150Open deis/deis/controller/registry/tests.py DockerClientTest.test_push/original