Test and linting fixes for fewer_collection_opts branch.

This commit is contained in:
John Chilton
2016-06-10 14:50:44 -04:00
parent 80ac816af9
commit d8ca09bcbe
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ class ToolsTestCase( api.ApiTestCase ):
}
}
self.dataset_populator.wait_for_history( history_id, assert_ok=True )
response = self._run( "__UNZIP_COLLECTION__", history_id, inputs, assert_ok=True )
self._run( "__UNZIP_COLLECTION__", history_id, inputs, assert_ok=True )
def test_zip_inputs( self ):
history_id = self.dataset_populator.new_history()
+1
View File
@@ -193,6 +193,7 @@ class MockHistoryDatasetAssociation( object ):
def __init__( self, test_dataset=None, name="Test Dataset", id=1 ):
if not test_dataset:
test_dataset = model.Dataset()
test_dataset.state = model.Dataset.states.OK
self.states = model.HistoryDatasetAssociation.states
self.deleted = False
self.dataset = test_dataset
+1
View File
@@ -131,6 +131,7 @@ class DatasetMatcherTestCase( TestCase, tools_support.UsesApp ):
self.tool = bunch.Bunch(
app=self.app,
tool_type="default",
valid_input_states=model.Dataset.valid_input_states,
)
self.current_user_roles = []
self.other_values = {}
@@ -1,5 +1,6 @@
from unittest import TestCase
from galaxy import model
from galaxy.tools.parameters import basic
from galaxy.util import bunch
from xml.etree.ElementTree import XML
@@ -14,6 +15,7 @@ class BaseParameterTestCase( TestCase, tools_support.UsesApp ):
self.mock_tool = bunch.Bunch(
app=self.app,
tool_type="default",
valid_input_states=model.Dataset.valid_input_states,
)
def _parameter_for(self, **kwds):