Lubomír Sedlář
|
ff5a7e6377
|
Make python3-mock dependency optional
https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage
Prefer using unittest.mock to a standalone package. The separate
packages should only really be needed on Python 2.7 these days.
The test requirements file is updated to only require mock on old
Python, and the dependency is removed from setup.py to avoid issues
there.
Relates: https://src.fedoraproject.org/rpms/pungi/pull-request/9
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
|
2024-01-26 09:45:19 +01:00 |
|
Haibo Lin
|
3eddcfccd8
|
Fix flake8 complaints - F401
F401 'dnf' imported but unused
F401 'imp' imported but unused
F401 'os' imported but unused
F401 'subprocess' imported but unused
F401 'sys' imported but unused
F401 'yum' imported but unused
JIRA: COMPOSE-4108
Signed-off-by: Haibo Lin <hlin@redhat.com>
|
2020-02-07 11:48:31 +08:00 |
|
Haibo Lin
|
0ed70fc8b6
|
tests: drop sys.path modification
It's unnecessary to add the path manually.
Signed-off-by: Haibo Lin <hlin@redhat.com>
|
2019-12-10 10:53:38 +08:00 |
|
Lubomír Sedlář
|
f809cac0b2
|
Cleanup parsing treefile
...and also add tests for it.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
|
2018-11-19 11:59:32 +01:00 |
|