Skip to content

Commit

Permalink
Fix Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Spelchak committed Mar 6, 2018
1 parent 0cb58d6 commit 9808033
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/dynamic_tool_destination.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def infinite_defaultdict():
if is_valid:
new_config["default_destination"] = obj['default_destination']
else:
valid_config = False
valid_config = False

elif isinstance(obj['default_destination'], dict):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def test_typo_in_case(self, l):
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', "Default destination 'destinationf' does not appear in the job configuration. Did you mean 'DestinationF'?"),
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', 'Finished config validation.')
)

@log_capture()
def test_invalid_verbose_value(self, l):
dt.parse_yaml(path=yt.ivYMLTest171, job_conf_path=job_conf_path, test=True)
Expand All @@ -865,7 +865,7 @@ def test_invalid_verbose_value(self, l):
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', 'Running config validation...'),
('galaxy.jobs.dynamic_tool_destination', 'DEBUG', 'Finished config validation.')
)

@log_capture()
def test_invalid_default_dest_valid_tool_default_dest_bool(self, l):
self.assertFalse(dt.parse_yaml(path=yt.ivYMLTest172, job_conf_path=job_conf_path, test=True, return_bool=True))
Expand Down
4 changes: 2 additions & 2 deletions test/unit/jobs/dynamic_tool_destination/ymltests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@
verbose: notavalue
'''

#invalid default destination and valid tool default destination
# invalid default destination and valid tool default destination
ivYMLTest172 = '''
default_destination: fake_destination
tools:
Expand All @@ -1356,7 +1356,7 @@
verbose: True
'''

#valid default destination and invalid tool default destination
# valid default destination and invalid tool default destination
ivYMLTest173 = '''
default_destination: cluster_default
tools:
Expand Down

0 comments on commit 9808033

Please sign in to comment.