framework/results.py: Fix Subtests class
Sub-classing built-in types in python is an error-prone leap, and many
corner cases came out to bit us in this instance. By wrapping a dict
inside of another class we can get the desired results, it means more
code, but it also means less corner cases.
Also change the equality test of two unit tests, since Subtests isn't a
dictionary anymore assert_dict_equal wont work anymore.
cc: Mark Janes <mark.a.janes@intel.com>
Signed-off-by:
Dylan Baker <dylanx.c.baker@intel.com>
Showing
Please register or sign in to comment