Files
galaxy/lib/galaxy_test/api/_framework.py
T
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
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
2020-10-07 11:52:13 +01:00

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', )