Files
galaxy/lib/galaxy_test/api/_framework.py
T
2020-12-25 17:38:51 -05:00

22 lines
613 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 # type: ignore
class ApiTestCase(FunctionalTestCase, UsesApiTestCaseMixin, TestCase):
galaxy_driver_class = GalaxyTestDriver
def setUp(self):
super().setUp()
self._setup_interactor()
__all__ = ('ApiTestCase', )