'Validates import for most basic workflow with an error.'

@raises(RuntimeError)
def test_import_workflow_namespace_error(self):

    workflow = Workflow.objects.new_workflow(self.user)
    workflow.save()
    f = open('apps/oozie/src/oozie/test_data/workflows/0.4/test-basic-namespace-missing.xml')
    contents = f.read()
    f.close()
    import_workflow(workflow, contents)
