'``deployment_from_configuration`` raises a ``ValueError`` if the
deployment_configuration contains application values not in the form of
a list.'

def test_error_on_non_list_applications(self):

    exception = self.assertRaises(ConfigurationError, deployment_from_configuration, DeploymentState(), dict(version=1, nodes={u'172.16.255.250': None}), set())
    self.assertEqual(u'Node    172.16.255.250    has    a    config    error.    Wrong    value    type:    NoneType.    Should    be    list.', exception.message)
