commit | b6e1a28cd7c0df9ae6f2d86e18733f38bd5b5548 | [log] [tgz] |
---|---|---|
author | Andrea Frittoli <andrea.frittoli@hp.com> | Tue Aug 05 20:08:27 2014 +0100 |
committer | Andrea Frittoli <andrea.frittoli@hp.com> | Mon Aug 18 15:55:58 2014 +0100 |
tree | 181df5fcfa447dda4a65664543b5125c031ae674 | |
parent | e258cd79a92651c14223dd82e25c23bb37f450e7 [diff] |
Add MatchesDictExceptForKeys custom matcher Add a custom matcher that compares two dictionaries, except for keys matching an exclusion list. The matcher returns with a mismatch object design to provide a useful message in case of failed assertion, which pinpoints the differences between the two dicts. Verified via unit tests. Partially implements: bp/tempest-client-scenarios Change-Id: Ibdd34fa1f095ee2ee33e11a8e23e654fb6d12b89