Lubomír Sedlář
fddce94704
Directly import mock from unittest
...
It is not a separate package since Python 3.3
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 3987688de6720d951bfeb0b49c364df9738b490b)
2025-09-29 18:26:35 +03:00
soksanichenko
b61e59d676
- Use unittest.mock instead external mock
2022-11-11 15:32:00 +02: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