mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-19 09:24:41 +00:00
unitests: Move unit tests in separate directory
This commit is contained in:
parent
058eb4d1cd
commit
0cbf94af61
4 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
tox.ini
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue