Enable igmp test to work under voltha.
Also change cordSubscriber voltha test to work with the voltha auto configure.
Import teardown_module as well in other test cases.
The tests that are not supposed to work with voltha or rely on auto configure should set:
VOLTHA_AUTO_CONFIGURE = False
in their test class.
Change-Id: Ibbe60e524d31e7079e0423e9e3c390ee17dee2a7
diff --git a/src/test/onboarding/onboardingTest.py b/src/test/onboarding/onboardingTest.py
index 718fa91..1f6226f 100644
--- a/src/test/onboarding/onboardingTest.py
+++ b/src/test/onboarding/onboardingTest.py
@@ -31,7 +31,7 @@
from OltConfig import OltConfig
from OnboardingServiceUtils import OnboardingServiceUtils
from SSHTestAgent import SSHTestAgent
-from CordTestConfig import setup_module, running_on_ciab
+from CordTestConfig import setup_module, running_on_ciab, teardown_module
from CordLogger import CordLogger
from CordTestUtils import *
from CordTestUtils import log_test as log
@@ -39,7 +39,6 @@
import time
import json
from VSGAccess import VSGAccess
-from CordTestConfig import setup_module, running_on_ciab
log.setLevel('INFO')
class onboarding_exchange(CordLogger):
@@ -1285,4 +1284,3 @@
df.callback(0)
reactor.callLater(0,test_exampleservice,df)
return df
-