Test/autotailor: fix Python 3.6 compatibility
The test case is skipped in the upstream CI, because the `autotailor` executable is not installed in the `osbuild-ci` image. This will not be the case in the future and the CI run will reveal a Python 3.6 incompatibility in the test implementation. Fix it. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
4c2b8db0d7
commit
36a60d1c29
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ def test_oscap_autotailor_json_profile_override(fake_json_input, stage_module, e
|
|||
["oscap", "info", "--profiles", results_file],
|
||||
stdout=subprocess.PIPE,
|
||||
check=True,
|
||||
text=True,
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
assert f"Id: {expected_profile}\n" in result.stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue