Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-02 | tests: use markers to configure disable_subp_usage (#473) | Daniel Watkins | |
This is an improvement over indirect parameterisation for a few reasons: * The test code is much easier to read, the mark names are much more intuitive than the indirect parameterisation invocation, and there's less boilerplate to boot * The fixture no longer has to overload the single parameter that fixtures can take with multiple meanings | |||
2020-06-08 | test: move conftest.py to top-level, to cover tests/ also (#414) | Daniel Watkins | |
* test_opennebula: convert TestParseShellConfig to a pytest test And allow it to run bash. (We aren't aiming to convert TestCase tests to pytest tests as a rule. In this case, I needed to change its implementation to limit subp usage, and I chose pytest over CiTestCase.) * test: move conftest.py to top-level, to cover tests/ also This gives us a single conftest.py which is shared by all tests in the project. |