Skip to content

Commit

Permalink
Update test_imports.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 10, 2024
1 parent e91c770 commit ef9171b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_gold_mapper_map_data_unique(gold_mapper):

exp_nucleotide_sequencing_id = "nmdc:omprc-11-importT" # From the gold mapper fixture

db, do_map = gold_mapper.map_data(db)
db = gold_mapper.map_data(db)
assert db
assert len(db.data_object_set) == len(exp_data_object_types)
data_objects = db.data_object_set
Expand All @@ -122,7 +122,7 @@ def test_gold_mapper_map_data_multiple(gold_mapper):
assert len(db.data_object_set) == initial_num_data_objects
exp_num_data_objects = 2 # two files are combined into a single data object

db, do_map = gold_mapper.map_data(db, unique=False)
db = gold_mapper.map_data(db, unique=False)
assert db
assert len(db.data_object_set) == exp_num_data_objects

Expand All @@ -134,8 +134,8 @@ def test_gold_mapper_map_workflow_executions(gold_mapper, ):

# setup
db, update = gold_mapper.map_sequencing_data()
db, do_map = gold_mapper.map_data(db)
db, do_map = gold_mapper.map_data(db, unique=False)
db = gold_mapper.map_data(db)
db = gold_mapper.map_data(db, unique=False)

# test
db = gold_mapper.map_workflow_executions(db)
Expand Down

0 comments on commit ef9171b

Please sign in to comment.