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:22:22 +0100
commit93ff08022f2b1be5cb6afa9b5f199442b66aefd2 (patch)
tree45f26b07e5a5c1af6ac9071e06b5ad81f75f6f9c
parent999e724ad4b67f173f48d3671bed209406a72491 (diff)
downloadopenlmi-providers-93ff08022f2b1be5cb6afa9b5f199442b66aefd2.tar.gz
openlmi-providers-93ff08022f2b1be5cb6afa9b5f199442b66aefd2.tar.xz
openlmi-providers-93ff08022f2b1be5cb6afa9b5f199442b66aefd2.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