diff options
author | Klement Sekera <ksekera@cisco.com> | 2018-06-22 13:19:45 +0200 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2018-06-25 14:19:57 +0200 |
commit | 4c5422ee52960fa151611aa94a76e363e1be98bd (patch) | |
tree | 8cb20a42b828d34a9290db71dc4108fb966af8d2 /test/template_ipsec.py | |
parent | beaded5e0cbcd507fa4dca4f71712bd4e6911e69 (diff) |
make test: fix RETRIES when setUpClass throws
This change adds handling of special case when setUpClass throws. In
this case TestResults receives a mock object called _ErrorHolder.
By parsing its description, we find test class name and use it to lookup
the test class in test suite to be able to add it to the list of failures
for re-running.
Change-Id: I656f21e38aa450fc567cdcbcf6e586967f947a64
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/template_ipsec.py')
0 files changed, 0 insertions, 0 deletions