summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-02-06 10:01:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-02-11 15:22:36 +1000
commitcda0f8fbb382745f082750b59ec196894ed2f2ac (patch)
tree57cb715c0392686c7709074d91f382e2a120088f
parent5af089fedbb1a27fea3ff27e966aa28d8545a153 (diff)
registry: comment fix, better failure message
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--registry/xit.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/registry/xit.py b/registry/xit.py
index 9b43565..c96ec90 100644
--- a/registry/xit.py
+++ b/registry/xit.py
@@ -565,6 +565,8 @@ class JUnitTestFailure:
class XITTestRegistryCLI:
+ """Command-line interface to the registry"""
+
def list_tests(self, args):
"""List all tests, showing test name and expected status"""
registries = self.load_registries(args)
@@ -586,6 +588,8 @@ class XITTestRegistryCLI:
test = registry.getTest(args.testsuite, args.testcase)
if test != None:
print str(test)
+ else:
+ logging.error("Unable to find test %s.%s\n", args.testsuite, args.testcase)
def verify_one_result(self, test, result, format_str):
"""Verify the test result given against the registry. Prints a status