commit | 674c8fc730ed2a58a2ac7d8654299c4d3827910a | [log] [tgz] |
---|---|---|
author | Marc Koderer <m.koderer@telekom.de> | Mon Mar 17 09:45:04 2014 +0100 |
committer | Marc Koderer <m.koderer@telekom.de> | Mon Mar 17 15:07:21 2014 +0100 |
tree | 5a343fd9fe529a2f09a5afece7a31e13e750577f | |
parent | 7321f3f729005418d70f872e3720aa38d7db913f [diff] |
Introduce load_tests mechanism for negative tests The test loader will run the function given in the local variable "load_test" (see http://docs.python.org/2/library/unittest.html#load-tests-protocol). This is done after the import level and only if a valid test runner is in place. Therefore it will solve the issue with pep8 job since flake8 won't interpret the load_tests variable. Change-Id: Idc160b9c83e9bd93bc4c92b7a86e36c0fc5b8a2e Implements: bug 1291826