fix test paths

This commit is contained in:
Robert Kaussow 2020-04-06 00:21:58 +02:00
parent ca59fc5c5e
commit 62310900e0
4 changed files with 4 additions and 5 deletions

View File

@ -96,7 +96,7 @@ local PipelineSecurity = {
commands: [
'pip install -r test-requirements.txt -qq',
'pip install -qq .',
'bandit -r ./ansiblelater -x ./ansiblelater/tests',
'bandit -r ./ansiblelater -x ./ansiblelater/test',
],
},
],

View File

@ -110,7 +110,7 @@ steps:
commands:
- pip install -r test-requirements.txt -qq
- pip install -qq .
- bandit -r ./ansiblelater -x ./ansiblelater/tests
- bandit -r ./ansiblelater -x ./ansiblelater/test
environment:
PY_COLORS: 1
@ -470,6 +470,6 @@ depends_on:
---
kind: signature
hmac: 03c91a03dab38f62ce4e792238c87e34ac583fa570ff806bf4208df7ed579cd8
hmac: 981fa0e9653bab1b4110af5212d45e411dc3e3a6b01f1a6a534b0a1eecb36e94
...

View File

@ -21,7 +21,6 @@ coalesce_brackets = true
split_before_logical_operator = true
[tool:pytest]
addopts = --pyargs ansiblelater
filterwarnings =
ignore::FutureWarning
ignore:.*collections.*:DeprecationWarning

View File

@ -15,4 +15,4 @@ deps =
ansibledevel: git+https://github.com/ansible/ansible.git
commands =
ansible-later --help
pytest --cov={toxinidir}/ansiblelater --no-cov-on-fail
pytest ansiblelater --cov={toxinidir}/ansiblelater --no-cov-on-fail