'``DockerClient.add`` creates a container with the specified image.'

def test_correct_image_used(self):

    image_name = u'openshift/busybox-http-app:latest'
    name = random_name(self)
    d = self.start_container(name, image_name=image_name)
    def started(_):
        docker = dockerpy_client()
        data = docker.inspect_container((self.namespacing_prefix + name))
        self.assertEqual(image_name, data[u'Config'][u'Image'])
    d.addCallback(started)
    return d
