]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
runner: Introduce TestInfo to wrap the raw test json
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Jul 2016 15:31:26 +0000 (15:31 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 1 Aug 2016 10:11:26 +0000 (11:11 +0100)
commitb0151fdda8aed5f031d698d1cfe5bf3586a95e0c
tree1a8dcd03bc7e0adce249a09fcdcc20999f6d29ec
parent7ee7c0774337706730d28b1fa345edf69a02fbce
runner: Introduce TestInfo to wrap the raw test json

The constructor now performs appropriate verification on the json
configuration, rather than open-coding it in get_all_test_info().  Users of
the dictionary-like json are altered to use attributes.

An all_instances() method is added to return test instances for all suitable
environments, optionally with a subset filter.  This is used in preference to
three open-coded loops, generating instance names.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
.pylintrc
xtf-runner