commit | b2978da5ab52e461b06a650e038df52e6ceb5cd6 | [log] [tgz] |
---|---|---|
author | Marc Koderer <m.koderer@telekom.de> | Wed Mar 26 13:45:43 2014 +0100 |
committer | Marc Koderer <m.koderer@telekom.de> | Wed Mar 26 13:56:09 2014 +0100 |
tree | a0bf45ebad1307b166d56e9400965217ddb67dfc | |
parent | b4a9c34f3e046d8ff73f33e449b6dd9b6579b682 [diff] |
Deduplicate negative test calls Instead of duplicating the execute call for each negative test cases, defining a generic way for all tests by registering a test function dynamically on basis of the test class itself. This is done using a class decorator (not inheritance) since it's not possible to get the child class name on import time. Change-Id: Ife0a8ea95ecfcac8a5f9c89babd74df0d5f884fe Partially-implements: bp autogen-negative-tests