'If the application config is not a dictionary, a
``ConfigurationError`` is raised.'

def test_invalid_fig_config_app_not_dict(self):

    config = [u'wordpress', {u'image': u'sample/wordpress'}]
    exception = self.assertRaises(ConfigurationError, FigConfiguration, config)
    error_message = u'Application    configuration    must    be    a    dictionary,    got    list.'
    self.assertEqual(exception.message, error_message)
