Temporary move import from global imports

Fix cyclic import fuelweb_test <-> system_test
Closes-bug: #1584003

Change-Id: I9ff6b12296f9badd5e5da39caf4584cf7cfce531
This commit is contained in:
Alexey Stepanov 2016-05-20 13:54:32 +03:00
parent 9b3f8a3612
commit 19b0f16cd8

View File

@ -31,7 +31,6 @@ from fuelweb_test.settings import MULTIPLE_NETWORKS
from fuelweb_test.settings import MULTIPLE_NETWORKS_TEMPLATE
from fuelweb_test.settings import REPLACE_DEFAULT_REPOS
from fuelweb_test.settings import REPLACE_DEFAULT_REPOS_ONLY_ONCE
from system_test.core.discover import load_yaml
from gates_tests.helpers import exceptions
@ -343,6 +342,7 @@ class SetupEnvironment(TestBasic):
# inside 'address_pool', so we can use 'network_pools' section
# for L3 configuration in tests for multi racks
if MULTIPLE_NETWORKS:
from system_test.core.discover import load_yaml
self._devops_config = load_yaml(MULTIPLE_NETWORKS_TEMPLATE)
self.check_run("empty")