'Upload a workflow with a missing tool, and verify that the tool specified is marked as missing.'

def test_0015_upload_workflow(self):

    repository = self.test_db_util.get_repository_by_name_and_owner(repository_name, common.test_user_1_name)
    workflow = open(self.get_filename('filtering_workflow/Workflow_for_0060_filter_workflow_repository.ga'), 'r').read()
    workflow = workflow.replace('__TEST_TOOL_SHED_URL__', self.url.replace('http://', ''))
    workflow_filepath = self.generate_temp_path('test_0060', additional_paths=['filtering_workflow'])
    if (not os.path.exists(workflow_filepath)):
        os.makedirs(workflow_filepath)
    open(os.path.join(workflow_filepath, workflow_filename), 'w+').write(workflow)
    self.upload_file(repository, filename=workflow_filename, filepath=workflow_filepath, valid_tools_only=True, uncompress_file=False, remove_repo_files_not_in_tar=False, commit_message='Uploaded    filtering    workflow.', strings_displayed=[], strings_not_displayed=[])
    self.load_workflow_image_in_tool_shed(repository, workflow_name, strings_displayed=['#EBBCB2'])
