Skip to content
  • Dylan Baker's avatar
    framework/results.py: Fix Subtests class · e57794cf
    Dylan Baker authored
    
    
    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: default avatarDylan Baker <dylanx.c.baker@intel.com>
    e57794cf