Skip to content
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

Merged
merged 8 commits into from Jun 16, 2017
Merged

Conversation

scottx611x
Copy link
Member

@scottx611x scottx611x commented Jun 16, 2017

  • Test refactoring
  • Provide fields on Tool & ToolDefinition to dump json in rather than the ast.literal_eval() approach from before
  • @mccalluc & @jkmarx: tool_manager.tests.py has a lengthy diff, but most of it is just moving existing members into places that make more sense

@codecov-io
Copy link

codecov-io commented Jun 16, 2017

Codecov Report

Merging #1805 into develop will increase coverage by 0.21%.
The diff coverage is 98.52%.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ
refinery/selenium_testing/utils.py 81.25% <100%> (+3.63%) ⬆️
refinery/tool_manager/utils.py 85.25% <100%> (-1.06%) ⬇️
refinery/tool_manager/tests.py 99.7% <100%> (+0.01%) ⬆️
refinery/selenium_testing/tests.py 100% <100%> (ø) ⬆️
refinery/tool_manager/views.py 100% <100%> (+5.88%) ⬆️
refinery/tool_manager/models.py 91.71% <87.5%> (-1.09%) ⬇️
...source/js/file-browser/directives/assay-filters.js 53.93% <0%> (-4.41%) ⬇️
...tool-launch/directives/input-group-help-popover.js 100% <0%> (ø) ⬆️
.../tool-launch/services/file-relationship-service.js 95.83% <0%> (+0.5%) ⬆️
refinery/ui/source/js/file-browser/ctrls/ctrl.js 35.29% <0%> (+0.64%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 987a586...1bb4e99. Read the comment docs.


from bioblend.galaxy.client import ConnectionError
from jsonschema import RefResolver, validate, ValidationError
from jsonschema import RefResolver, ValidationError, validate
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, isort puts classes first in alph. order


self.url_root = '/api/v2/tool_definitions/'
self.tools_url_root = '/api/v2/tools'
Copy link
Member

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):
Copy link
Member

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.

@scottx611x scottx611x merged commit ee36d10 into develop Jun 16, 2017
@scottx611x scottx611x deleted the scottx611x/tool_manager_updates branch June 16, 2017 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants