Add test_utils ODL startup opt-out support
[transportpce.git] / tests / transportpce_tests / with_docker / test02_nbinotifications.py
index f7dd69e95ee5200e39e9ec9c6bf81aec64e87cc4..41eb33b5f97194120ce8db15b63da1d5a8bb5aa9 100644 (file)
@@ -85,7 +85,7 @@ class TransportNbiNotificationstesting(unittest.TestCase):
         cls.init_failed = False
         cls.processes = test_utils.start_tpce()
         # NBI notification feature is not installed by default in Karaf
-        if "USE_LIGHTY" not in os.environ or os.environ['USE_LIGHTY'] != 'True':
+        if "NO_ODL_STARTUP" not in os.environ or "USE_LIGHTY" not in os.environ or os.environ['USE_LIGHTY'] != 'True':
             print("installing NBI notification feature...")
             result = test_utils.install_karaf_feature("odl-transportpce-nbinotifications")
             if result.returncode != 0: