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:
John Chilton
2021-01-16 20:11:39 -05:00
parent 239d6d095e
commit 3a9596a66f
6 changed files with 27 additions and 23 deletions
+2 -2
View File
@@ -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,