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: [ commands: [
'pip install -r test-requirements.txt -qq', 'pip install -r test-requirements.txt -qq',
'pip install -qq .', 'pip install -qq .',
'bandit -r ./ansiblelater -x ./ansiblelater/tests', 'bandit -r ./ansiblelater -x ./ansiblelater/test',
], ],
}, },
], ],

View File

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

View File

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

View File

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