diff --git a/tests/tests_unit.yml b/tests/tests_unit.yml index f55164e..d41217d 100644 --- a/tests/tests_unit.yml +++ b/tests/tests_unit.yml @@ -34,7 +34,7 @@ local_follow: false loop: - ../library/network_connections.py - - test_network_connections.py + - unit/test_network_connections.py - ../module_utils/network_lsr - name: Create helpers directory @@ -48,7 +48,7 @@ dest: /tmp/test-unit-1/helpers mode: 0755 with_fileglob: - - helpers/* + - unit/helpers/* - name: Check if python2 is available command: python2 --version diff --git a/tests/helpers/ethtool b/tests/unit/helpers/ethtool similarity index 100% rename from tests/helpers/ethtool rename to tests/unit/helpers/ethtool diff --git a/tests/test_network_connections.py b/tests/unit/test_network_connections.py similarity index 100% rename from tests/test_network_connections.py rename to tests/unit/test_network_connections.py diff --git a/tox.ini b/tox.ini index ce40a58..bc20613 100644 --- a/tox.ini +++ b/tox.ini @@ -116,7 +116,7 @@ commands = {posargs} \ library/network_connections.py \ module_utils/network_lsr \ - tests/test_network_connections.py + tests/unit/test_network_connections.py [testenv:flake8] basepython = python2.7