Skip to content

Commit

Permalink
Fix tests for branching prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
corneauf committed Aug 20, 2019
1 parent eca702c commit 8477198
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unittests/core/io/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def child_config(parent_config):
@pytest.fixture
def experiment_name_conflict(create_db_instance, parent_config, child_config):
"""Generate an experiment name conflict"""
create_db_instance.remove('experiments', {'name': 'test'})
create_db_instance.remove('experiments', {'name': 'test2'})
create_db_instance.write('experiments', parent_config)
create_db_instance.write('experiments', child_config)
return conflicts.ExperimentNameConflict(parent_config, parent_config)

0 comments on commit 8477198

Please sign in to comment.