-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename parse_requirements_and_containers to parse_requirements,
remove unused tests, add credential yaml test, refactor tool evaluator (needs more work)
- Loading branch information
Showing
14 changed files
with
56 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,6 @@ | |
) | ||
|
||
from galaxy.model.db.user import get_user_by_email | ||
|
||
# from galaxy_test.api.test_tools import TestsTools | ||
# from galaxy_test.base.populators import ( | ||
# DatasetPopulator, | ||
# skip_without_tool, | ||
# ) | ||
from galaxy_test.driver import integration_util | ||
|
||
TEST_USER_EMAIL = "[email protected]" | ||
|
@@ -140,30 +134,3 @@ def __url(self, action, user): | |
|
||
def _get_dbuser(self, app, user): | ||
return get_user_by_email(app.model.session, user["email"]) | ||
|
||
|
||
# class TestSecretsInExtraUserPreferences( | ||
# integration_util.IntegrationTestCase, integration_util.ConfiguresDatabaseVault, TestsTools | ||
# ): | ||
# dataset_populator: DatasetPopulator | ||
|
||
# @classmethod | ||
# def handle_galaxy_config_kwds(cls, config): | ||
# super().handle_galaxy_config_kwds(config) | ||
# cls._configure_database_vault(config) | ||
# config["user_preferences_extra_conf_path"] = os.path.join( | ||
# os.path.dirname(__file__), "user_preferences_extra_conf.yml" | ||
# ) | ||
|
||
# def setUp(self): | ||
# super().setUp() | ||
# self.dataset_populator = DatasetPopulator(self.galaxy_interactor) | ||
|
||
# @skip_without_tool("secret_tool") | ||
# def test_secrets_tool(self, history_id): | ||
# user = self._setup_user(TEST_USER_EMAIL) | ||
# url = self._api_url(f"users/{user['id']}/information/inputs", params=dict(key=self.master_api_key)) | ||
# put(url, data=json.dumps({"secret_tool|api_key": "test"})) | ||
# run_response = self._run("secret", history_id, assert_ok=True) | ||
# outputs = run_response["outputs"] | ||
# assert outputs[0]["extra_files"][0]["value"] == "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters