'POSTing to ``/configuration/_compose`` in Flocker\'s custom
configuration format changes returns parsing errors appropriately'

def error_test(self, application_config, deployment_config, message):

    configuration = {u'applications': application_config, u'deployment': deployment_config}
    return self.assertResult('POST', '/configuration/_compose', configuration, BAD_REQUEST, {u'description': message})
