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:
Nicola Soranzo
2021-11-09 14:37:48 +01:00
parent d0826824bf
commit f355da5865
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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):