'If the application config is a fig-compatible dictionary with one or
more arbitrary keys (representing app labels) but the value of any key
is not itself a dictionary, a ``ConfigurationError`` is raised.'

def test_invalid_fig_config_value_not_dict(self):

    config = {u'postgres': {u'image': u'sample/postgres'}, u'wordpress': str(u'a    string')}
    parser = FigConfiguration(config)
    exception = self.assertRaises(ConfigurationError, parser.applications)
    error_message = u"Application    'wordpress'    has    a    config    error.    Application    configuration    must    be    dictionary;    got    type    'str'."
    self.assertEqual(exception.message, error_message)
