mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix missing import
This commit is contained in:
parent
5292f4b1f1
commit
5ea856c104
@ -11,6 +11,7 @@ from salttesting.helpers import ensure_in_syspath
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
# Import salt libs
|
||||
import integration
|
||||
import salt.utils
|
||||
import salt.utils.find
|
||||
|
||||
|
@ -19,7 +19,7 @@ ensure_in_syspath('../../')
|
||||
|
||||
# Import salt libs
|
||||
import salt.utils
|
||||
from integration import requires_network
|
||||
import integration
|
||||
from salt.utils.verify import (
|
||||
check_user,
|
||||
verify_env,
|
||||
@ -78,7 +78,7 @@ class TestVerify(TestCase):
|
||||
self.assertEqual(dir_stat.st_mode & stat.S_IRWXG, 40)
|
||||
self.assertEqual(dir_stat.st_mode & stat.S_IRWXO, 5)
|
||||
|
||||
@requires_network(only_local_network=True)
|
||||
@integration.requires_network(only_local_network=True)
|
||||
def test_verify_socket(self):
|
||||
self.assertTrue(verify_socket('', 18000, 18001))
|
||||
if socket.has_ipv6:
|
||||
|
Loading…
Reference in New Issue
Block a user