Fix missing import

This commit is contained in:
Pedro Algarvio 2013-08-28 00:02:00 +00:00
parent 5292f4b1f1
commit 5ea856c104
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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: