mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 15:45:04 +08:00
Upgrade syntax using `pyupgrade --py36-plus` . Manually drop several `six` imports. Also: - Remove broken pr_cache in scripts/bootstrap_history.py - Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
22 lines
597 B
Python
22 lines
597 B
Python
from unittest import TestCase
|
|
|
|
from galaxy_test.base.api import UsesApiTestCaseMixin
|
|
from galaxy_test.base.testcase import FunctionalTestCase
|
|
try:
|
|
from galaxy_test.driver.driver_util import GalaxyTestDriver
|
|
except ImportError:
|
|
# Galaxy libraries and galaxy test driver not available, just assume we're
|
|
# targetting a remote Galaxy.
|
|
GalaxyTestDriver = None
|
|
|
|
|
|
class ApiTestCase(FunctionalTestCase, UsesApiTestCaseMixin, TestCase):
|
|
galaxy_driver_class = GalaxyTestDriver
|
|
|
|
def setUp(self):
|
|
super().setUp()
|
|
self._setup_interactor()
|
|
|
|
|
|
__all__ = ('ApiTestCase', )
|