unitests: Move unit tests in separate directory

This commit is contained in:
Till Maas 2019-06-05 21:55:40 +02:00
parent 058eb4d1cd
commit 0cbf94af61
4 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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