mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop unused url from reimport_history signature
This commit is contained in:
@@ -390,7 +390,7 @@ class ImportExportTests(BaseHistories):
|
||||
self.dataset_populator.wait_for_history(history_id, assert_ok=assert_ok)
|
||||
|
||||
return self.dataset_populator.reimport_history(
|
||||
history_id, history_name, wait_on_history_length=wait_on_history_length, export_kwds=export_kwds, url=self.url, api_key=self.galaxy_interactor.api_key
|
||||
history_id, history_name, wait_on_history_length=wait_on_history_length, export_kwds=export_kwds, api_key=self.galaxy_interactor.api_key
|
||||
)
|
||||
|
||||
def _import_history_and_wait(self, import_data, history_name, wait_on_history_length=None):
|
||||
|
||||
@@ -499,7 +499,7 @@ test_data:
|
||||
history_length = self.dataset_populator.history_length(history_id)
|
||||
|
||||
new_history_id = self.dataset_populator.reimport_history(
|
||||
history_id, history_name, wait_on_history_length=history_length, export_kwds={}, url=self.url, api_key=self.galaxy_interactor.api_key
|
||||
history_id, history_name, wait_on_history_length=history_length, export_kwds={}, api_key=self.galaxy_interactor.api_key
|
||||
)
|
||||
# wait a little more for those jobs, todo fix to wait for history imported false or
|
||||
# for a specific number of jobs...
|
||||
|
||||
@@ -1025,7 +1025,7 @@ class BaseDatasetPopulator(BasePopulator):
|
||||
contents = contents_response.json()
|
||||
return len(contents)
|
||||
|
||||
def reimport_history(self, history_id, history_name, wait_on_history_length, export_kwds, url, api_key):
|
||||
def reimport_history(self, history_id, history_name, wait_on_history_length, export_kwds, api_key):
|
||||
# Export the history.
|
||||
download_path = self.export_url(history_id, export_kwds, api_key, check_download=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user