summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-12-19 15:16:45 +0100
committerJan Safranek <jsafrane@redhat.com>2013-12-19 15:16:45 +0100
commitb6c9e8d105072b5c373cb25590dfc7f5054ed8a9 (patch)
tree5648edbf064ada00e04808c478addb20825211a7
parent0aabbce2a9d7e21a7ff5e4118b1ac7b98f5aa06b (diff)
downloadopenlmi-providers-b6c9e8d105072b5c373cb25590dfc7f5054ed8a9.tar.gz
openlmi-providers-b6c9e8d105072b5c373cb25590dfc7f5054ed8a9.tar.xz
openlmi-providers-b6c9e8d105072b5c373cb25590dfc7f5054ed8a9.zip
Let the test write to stderr.
Our test framework logs stderr and stdout separately and it's hard to match them together.
-rw-r--r--src/python/lmi/test/cases/test_lmi_instances.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/lmi/test/cases/test_lmi_instances.py b/src/python/lmi/test/cases/test_lmi_instances.py
index 65ecf98..bd9751d 100644
--- a/src/python/lmi/test/cases/test_lmi_instances.py
+++ b/src/python/lmi/test/cases/test_lmi_instances.py
@@ -155,14 +155,14 @@ class TestInstances(LmiTestCase):
if not name.startswith("LMI_"):
continue
if name in self.SKIP_CLASSES:
- print "Skipping", name
+ print >>sys.stderr, "Skipping", name
continue
skip_associators = name in self.SKIP_ASSOCIATORS
- print "Checking ", name
+ print >>sys.stderr, "Checking ", name
cls = lmi.shell.LMIClass(self.conn, self.conn.root.cimv2, name)
self.check_instances(cls, skip_associators)
except Exception, exc:
- print "ERROR scanning class", cls, exc
+ print >>sys.stderr, "ERROR scanning class", cls, exc
traceback.print_exc()
exception_count += 1