Tomas Kopecek
5db5fd8b03
fix bandit env
2022-01-03 10:31:54 +01:00
Jana Cupova
c310d6692d
Pytest instead of nose in unittest
...
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Tomas Kopecek
ba2e1e520b
basic security checks with bandit
...
Fixes: https://pagure.io/koji/issue/3042
2021-10-20 15:20:14 +02:00
Joe Talbott
8d8d441d7e
tests - Add support for running tox with specific test(s)
2021-06-01 22:59:06 -04:00
Zack Cerza
1d2f542f1a
tox: Fix flake8 invocation
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
a654215524
tox: Fix typo in py2 env
...
Coverage reports were going in the wrong place.
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
03a68e689a
tox: Set PYTHONHASHSEED=0 for py2
...
This fixes a breakage in test_import_comps_sample_yumcomps
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
e51dbcca6d
tox: Add py2-rpmdeps testenv
...
This avoids grabbing requirements from PyPI. Use this testenv if you
want to only test with globally-available (read: RPM) requirements.
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
36e99825cb
rpm-py-installer: Download binaries
...
Instead of building from source.
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
2b06288792
Run tests in virtualenvs using tox
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00