PyTest, test to cover VM creation a ovs nets
- test_osm_01_create_vm -> add 2 host and create one vm with dhcp
- test_osm_02_create_2_vm_ping_btw -> add 2 host and create two vm with dhcp and check ping between both vm.
- test_osm_03_test_service_openvim -> restart a service and check net status
- The test regresion launch the repo service and use the openvim CLI client available in the repo.
Change-Id: I3cb3c047fbd871f6d3a0c152dc6643a3248835d6
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
diff --git a/test/conftest.py b/test/conftest.py
new file mode 100644
index 0000000..2ad3e53
--- /dev/null
+++ b/test/conftest.py
@@ -0,0 +1,6 @@
+import os
+
+def pytest_addoption(parser):
+ parser.addoption('--config',
+ help='Indicate tests are run on CI server')
+ os.environ['OPENVIM_ROOT_FOLDER'] = os.getcwd()