mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Move ssh_util from galaxy_test.base to galaxy.security
so it can be used by both unit tests of the `galaxy-app` package and by integration tests
This commit is contained in:
@@ -7,8 +7,8 @@ import tempfile
|
||||
import unittest
|
||||
from typing import ClassVar, NamedTuple
|
||||
|
||||
from galaxy.security.ssh_util import generate_ssh_keys
|
||||
from galaxy_test.base.populators import skip_without_tool
|
||||
from galaxy_test.base.ssh_util import generate_ssh_keys
|
||||
from galaxy_test.driver import integration_util
|
||||
from .test_job_environments import BaseJobEnvironmentIntegrationTestCase
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ except ImportError:
|
||||
raise unittest.SkipTest("Skipping tests that require mockssh")
|
||||
|
||||
from galaxy.jobs.runners.cli import CliInterface
|
||||
from galaxy_test.base.ssh_util import generate_ssh_keys, SSHKeys
|
||||
from galaxy.security.ssh_util import generate_ssh_keys, SSHKeys
|
||||
|
||||
|
||||
class TestCliInterface(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user