summaryrefslogtreecommitdiffstats
path: root/tests/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix the yaml load warning.Daniel Bengtsson2019-12-101-6/+6
| | | | | | | | | | | In the new version of PyYAML the API changed to be more explicit. Now the default value for the Loader is None, see: https://github.com/yaml/pyyaml/blob/5.1/lib3/yaml/__init__.py#L103 The load is unsafe. It's better to use safe_load function. Change-Id: Ia1cd16f2ff970ca220a266c99b6554dd4254ebd9
* Auto-generated output from python-blackThanh Ha2019-09-091-56/+61
| | | | | | | | | Please review the following patch containing the code changes in the repo. This patch is a transition patch and is the auto-generated output of the python-black tool. Change-Id: I2d2de71da8a105fb62b561899ae78441ddab4032 Signed-off-by: Thanh Ha <zxiiro@gmail.com>
* Refactor base test classes inheritance for reuseDarragh Bailey2016-09-141-3/+2
| | | | | | | | | | | Refactor base test class inheritance to allow for BaseTest class to be reused without needing to also import the TestCase class everywhere in order to avoid having the common test function executed on base classes. This makes it easier to build base testing classes and then simplifies the subclassing of these for actual tests. Change-Id: I89809e8082469f814f245db4a9ab7658aac8a405
* Add valid_dict parameter to convert xmlKien Ha2016-07-251-1/+27
| | | | | | | | | | valid_dict provides a way to set options through their key and value. This allows users to set options using more conventional naming schemes/values but the resulting XML will use the corresponding value from the dict for that key. Change-Id: I6574a5f33eecddb9b7927841f08600f3977f0ca6 Signed-off-by: Kien Ha <kienha9922@gmail.com>
* Add valid set of options parameters to convert_xmlKien Ha2016-07-071-0/+14
| | | | | | | | Valid options provides a way to check if the value the user input is from a list of available options. Change-Id: I22409602fb526a83c0525772d68da1dbd28dd11b Signed-off-by: Kien Ha <kienha9922@gmail.com>
* Add helper function to convert xmlKien Ha2016-02-252-0/+70
Change-Id: I435008aab406c9086d634781c03bb7cf5bc2acba Signed-off-by: Kien Ha <kienha9922@gmail.com>