Rehome unit tests to `tests\unit
` folder
Currently only unit tests are executed, but other type could be needed (functional, for example). All tests in ``os_vif``, ``vif_plug_ovs`` and ``vif_plug_linux_bridge`` are moved to ``tests\unit`` folder. TrivialFix Change-Id: I3ea64a407b5fa8b23e0c8e656a55524139d1b79f
This commit is contained in:
parent
2a09ede8fb
commit
21d7392c79
0
os_vif/tests/unit/__init__.py
Normal file
0
os_vif/tests/unit/__init__.py
Normal file
@ -13,7 +13,7 @@
|
||||
import six
|
||||
|
||||
from os_vif import exception
|
||||
from os_vif.tests import base
|
||||
from os_vif.tests.unit import base
|
||||
|
||||
"""Mostly inspired by os-brick's tests."""
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
from os_vif import exception
|
||||
from os_vif import objects
|
||||
from os_vif.tests import base
|
||||
from os_vif.tests.unit import base
|
||||
|
||||
|
||||
class TestHostInfo(base.TestCase):
|
@ -18,7 +18,7 @@ import os_vif
|
||||
from os_vif import exception
|
||||
from os_vif import objects
|
||||
from os_vif import plugin
|
||||
from os_vif.tests import base
|
||||
from os_vif.tests.unit import base
|
||||
|
||||
|
||||
class DemoPlugin(plugin.PluginBase):
|
@ -15,7 +15,7 @@ from oslo_versionedobjects import fixture
|
||||
|
||||
import os_vif
|
||||
from os_vif import objects
|
||||
from os_vif.tests import base
|
||||
from os_vif.tests.unit import base
|
||||
|
||||
|
||||
class TestVIFS(base.TestCase):
|
0
vif_plug_linux_bridge/tests/unit/__init__.py
Normal file
0
vif_plug_linux_bridge/tests/unit/__init__.py
Normal file
0
vif_plug_ovs/tests/unit/__init__.py
Normal file
0
vif_plug_ovs/tests/unit/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user