mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Cleanup galaxy_test.base.api_util.
- Rename get_master_api_key to get_admin_api_key - less offesnive and more accurate since it doesn't need to be the bootstrap key. - Add types and cleanup docstrings.
This commit is contained in:
@@ -13,7 +13,7 @@ galaxy_root = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pa
|
||||
sys.path[1:1] = [os.path.join(galaxy_root, "lib"), os.path.join(galaxy_root, "test")]
|
||||
|
||||
from galaxy.util import classproperty
|
||||
from galaxy_test.base.api_util import get_master_api_key, get_user_api_key
|
||||
from galaxy_test.base.api_util import get_admin_api_key, get_user_api_key
|
||||
from galaxy_test.driver import driver_util
|
||||
|
||||
log = driver_util.build_logger()
|
||||
@@ -86,7 +86,7 @@ class DataManagersGalaxyTestDriver(driver_util.GalaxyTestDriver):
|
||||
functional.test_data_managers.build_tests(
|
||||
tmp_dir=self.galaxy_test_tmp_dir,
|
||||
testing_shed_tools=self.testing_shed_tools,
|
||||
master_api_key=get_master_api_key(),
|
||||
master_api_key=get_admin_api_key(),
|
||||
user_api_key=get_user_api_key(),
|
||||
user_email=self.app.config.admin_users_list[0],
|
||||
create_admin=True,
|
||||
|
||||
Reference in New Issue
Block a user