opnsense-src/tests/atf_python
Alexander V. Chernikov f63825ff21 testing: improve python vnet wrapper.
* Derive jail name from class name and method name, instead of just
method name. This change reduces the chances of different tests
clashing.
 Old: 'jail_test_one'. New: 'pytest:TestExampleSimplest:test_one'
* Simplify vnetX_handler() method signature by skipping obj_map (unused)
 and pipe. The latter can be accessed as the vnet property.
* Add `send_object()` method as a pair to the `wait_object` inside the
 VnetTestTemplate class.
* Add `test_id` property to the BaseTest method. Previously it was
 provided only for the VnetTestTemplate class. This change makes
 the identifier easily accessible for all users.

MFC after:	2 weeks
2022-12-29 19:59:11 +00:00
..
sys testing: improve python vnet wrapper. 2022-12-29 19:59:11 +00:00
__init__.py
atf_pytest.py
Makefile netlink: connect netlink tests to the build 2022-12-16 12:02:50 +00:00
utils.py testing: improve python vnet wrapper. 2022-12-29 19:59:11 +00:00