opnsense-src/tests/atf_python
Alexander V. Chernikov 2419f06beb 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

(cherry picked from commit f63825ff21)
2023-01-23 22:09:04 +00:00
..
sys testing: improve python vnet wrapper. 2023-01-23 22:09:04 +00:00
__init__.py
atf_pytest.py
Makefile netlink: connect netlink tests to the build 2023-01-23 22:04:03 +00:00
utils.py testing: improve python vnet wrapper. 2023-01-23 22:09:04 +00:00