Supporting many concurrent LinuxApplications on same LinuxNode
[nepi.git] / test / resources / linux / test_utils.py
index 885af79..369e022 100644 (file)
@@ -35,7 +35,7 @@ def skipIfNotAlive(func):
 def skipInteractive(func):
     name = func.__name__
     def wrapped(*args, **kwargs):
-        mode = os.environ.get("NEPI_INTERACTIVE", False) in ['True', 'true', 'yes', 'YES']
+        mode = os.environ.get("NEPI_INTERACTIVE", False).lower() in ['true', 'yes']
         if not mode:
             print "*** WARNING: Skipping test %s: Interactive mode off \n" % name
             return