aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/tests/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config/tests/base.py')
-rw-r--r--os_net_config/tests/base.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/os_net_config/tests/base.py b/os_net_config/tests/base.py
index c8ad7c4..1e87ba2 100644
--- a/os_net_config/tests/base.py
+++ b/os_net_config/tests/base.py
@@ -21,6 +21,8 @@ import fixtures
import stubout
import testtools
+from os_net_config import objects
+
_TRUE_VALUES = ('True', 'true', '1', 'yes')
@@ -33,6 +35,11 @@ class TestCase(testtools.TestCase):
super(TestCase, self).setUp()
self.stubs = stubout.StubOutForTesting()
+
+ def test_numbered_nics():
+ return {}
+ self.stubs.Set(objects, '_numbered_nics', test_numbered_nics)
+
test_timeout = os.environ.get('OS_TEST_TIMEOUT', 0)
try:
test_timeout = int(test_timeout)