mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
22 lines
613 B
Python
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', )
|