mirror of
https://github.com/linux-system-roles/network.git
synced 2026-08-02 15:52:40 +00:00
Add Pytest integration tests
tests/integration/test_ethernet.py is a script capable of using the network module without executing it from Ansible and using Pytest. The example test sets an ip in a test interface. The changes in tox.ini adapt the testing to the new script. The __init__.py files were added to allow python2.7 compatibility. Signed-off-by: Elvira García Ruiz <elviragr@riseup.net>
This commit is contained in:
parent
bf4501bb87
commit
c29a2bf708
5 changed files with 117 additions and 0 deletions
0
module_utils/__init__.py
Normal file
0
module_utils/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue