parseable_filename = os.path.join(tmpdir, TEMP_DAG_FILENAME)
        with open(parseable_filename, "w") as parseable_file:
            parseable_file.writelines(PARSEABLE_DAG_FILE_CONTENTS)
        with create_session() as session:
            self._process_file(parseable_filename, dag_directory=tmpdir, session=session)
            import_errors = session.query(errors.ImportError).all()
            assert len(import_errors) == 0
            session.rollback()
    def test_no_import_errors_with_parseable_dag_in_zip(self, tmpdir):