From 23b50ade96989b068f4499fe66069c3f7e1541f7 Mon Sep 17 00:00:00 2001 From: Arthur Goldberg Date: Sat, 22 Jun 2019 09:28:07 -0400 Subject: [PATCH] remove unneeded imports & add branch to automated migration configuration file --- migration_test_repo/__main__.py | 1 - migrations/automated_migration_config-migration_test_repo.yaml | 2 ++ tests/test_core.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migration_test_repo/__main__.py b/migration_test_repo/__main__.py index f6c7b16..26577b0 100644 --- a/migration_test_repo/__main__.py +++ b/migration_test_repo/__main__.py @@ -11,7 +11,6 @@ from obj_model import migrate from obj_model.migrate import SchemaChanges import obj_model -from obj_model.utils import set_git_repo_metadata_from_path from migration_test_repo import core diff --git a/migrations/automated_migration_config-migration_test_repo.yaml b/migrations/automated_migration_config-migration_test_repo.yaml index 3f7bb88..a9a4abd 100644 --- a/migrations/automated_migration_config-migration_test_repo.yaml +++ b/migrations/automated_migration_config-migration_test_repo.yaml @@ -3,9 +3,11 @@ # description of the attributes: # 'files_to_migrate' contains paths to files in the data repo to migrate # 'schema_repo_url' contains the URL of the schema repo +# 'branch' contains the schema's branch # 'schema_file' contains the relative path to the schema file in the schema repo # 'migrator' contains the keyword for the type of migrator to use, a key in `MigrationSpec.MIGRATOR_CREATOR_MAP` files_to_migrate: [../tests/fixtures/data_file_1.xlsx] migrator: standard_migrator schema_file: '../migration_test_repo/core.py' schema_repo_url: 'https://github.com/KarrLab/migration_test_repo' +branch: 'master' \ No newline at end of file diff --git a/tests/test_core.py b/tests/test_core.py index 10e6159..d024c0c 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -8,7 +8,6 @@ import unittest from migration_test_repo import core -from obj_model.utils import set_git_repo_metadata_from_path class TestCore(unittest.TestCase):