mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Test and linting fixes for fewer_collection_opts branch.
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user