New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scottx611x/tool manager updates #1805
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1805 +/- ##
===========================================
+ Coverage 40.53% 40.75% +0.21%
===========================================
Files 391 391
Lines 25420 25536 +116
Branches 1271 1295 +24
===========================================
+ Hits 10304 10407 +103
- Misses 15116 15129 +13
Continue to review full report at Codecov.
|
|
||
from bioblend.galaxy.client import ConnectionError | ||
from jsonschema import RefResolver, validate, ValidationError | ||
from jsonschema import RefResolver, ValidationError, validate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that from isort? caps before lowercase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, isort puts class
es first in alph. order
refinery/tool_manager/tests.py
Outdated
|
||
self.url_root = '/api/v2/tool_definitions/' | ||
self.tools_url_root = '/api/v2/tools' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing / ?
validate_tool_annotation(workflow_annotation) | ||
) | ||
|
||
def test_list_pair_list_workflow_tool_def_generation(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a lot of assetEquals, perhaps break into assert the different types separately.
Tool
&ToolDefinition
to dump json in rather than theast.literal_eval()
approach from beforetool_manager.tests.py
has a lengthy diff, but most of it is just moving existing members into places that make more sense