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:
Elvira García Ruiz 2020-08-18 02:54:05 +02:00 committed by Till Maas
parent bf4501bb87
commit c29a2bf708
5 changed files with 117 additions and 0 deletions

0
module_utils/__init__.py Normal file
View file