'When the cluster state includes one container that is not running, the
endpoint returns a single-element list containing the container
indicating it is not running.'

def test_one_container_not_running(self):

    expected_application = Application(name=u'myapp', image=DockerImage.from_string(u'busybox'), running=False)
    expected_hostname = u'192.0.2.101'
    expected_uuid = uuid4()
    self.cluster_state_service.apply_changes([NodeState(uuid=expected_uuid, hostname=expected_hostname, applications={expected_application.name: expected_application})])
    expected_dict = dict(name=u'myapp', node_uuid=unicode(expected_uuid), image=u'busybox:latest', running=False, restart_policy={u'name': u'never'})
    response = [expected_dict]
    return self.assertResult('GET', '/state/containers', None, OK, response)
