python-rpm-macros/tests
Karolina Surma eb3f38ce4b Add new options for %%py{3}_check_import: -f, -t, -e
-f: optionally read a file with module names to test
-t: bool flag - if set, filter only top-level modules
-e: optionally exclude module names matching the given glob (Unix
shell-style wildcards)
Importing all modules may cause bogus failures in some cases,
eg. when the imported code assumes there is an existing graphical window.
Such behaviour may be by design, hence for automatic processing it's
more convinient to - in some cases - check only for top-level modules
or filter out the troublemakers.

Related: rhbz#1950291
2021-12-14 21:28:45 +01:00
..
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
pythontest.spec RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
test_evals.py Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
test_import_all_modules.py Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
tests.yml CI eval tests: Drop the python3.6 dependency 2021-08-25 14:21:23 +02:00