mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
17 lines
360 B
Python
17 lines
360 B
Python
import os
|
|
|
|
import pytest
|
|
|
|
from tool_shed.test.base import driver
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def tool_shed_test_driver():
|
|
if not os.environ.get("GALAXY_TEST_ENVIRONMENT_CONFIGURED"):
|
|
ts_driver = driver.ToolShedTestDriver()
|
|
ts_driver.setup()
|
|
try:
|
|
yield ts_driver
|
|
finally:
|
|
ts_driver.tear_down()
|