Skip to content

Commit

Permalink
Fix test that didn't run
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Spelchak committed Feb 13, 2018
1 parent 125d126 commit d30bccb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ def test_tool_default_destination_without_priority_not_in_job_conf(self, l):
dt.parse_yaml(path=yt.ivYMLTest159, job_conf_path=job_conf_path, test=True)
l.check(
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', 'Running config validation...'),
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', "No default_priority section found in config. Setting 'med' as default priority."),
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', "Default destination for 'blah': 'not_true_destination' does not appear in the job configuration."),
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', 'Finished config validation.')
)
Expand Down
10 changes: 3 additions & 7 deletions test/unit/jobs/dynamic_tool_destination/ymltests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,20 +1186,16 @@

# tool default destination not in job config (without priority dict)
ivYMLTest159 = '''
default_destination:
priority:
med: waffles_low
default_destination: waffles_low
tools:
blah:
rules:
- rule_type: num_input_datasets
nice_value: 0
lower_bound: 0
upper_bound: Infinity
destination:
priority:
med: waffles_default
default_destination: waffles_default
destination: waffles_default
default_destination: not_true_destination
verbose: True
'''

Expand Down

0 comments on commit d30bccb

Please sign in to comment.