Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: Rodolfo Olivieri <[email protected]>
  • Loading branch information
r0x0d committed Feb 14, 2023
1 parent bfc8255 commit c1bab5b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from conftest import SYSTEM_RELEASE
from conftest import SYSTEM_RELEASE_ENV
from envparse import env


Expand Down Expand Up @@ -56,10 +56,10 @@ def test_package_download_error(convert2rhel):
pkgmanager = "yum"
final_message = "There are no suitable mirrors available for the loaded repositories."

if "oracle" in SYSTEM_RELEASE:
if "oracle" in SYSTEM_RELEASE_ENV:
server_sub = "Oracle Linux Server"

if "8" in SYSTEM_RELEASE:
if "8" in SYSTEM_RELEASE_ENV:
pkgmanager = "dnf"
final_message = "Failed to download the transaction packages."

Expand Down

0 comments on commit c1bab5b

Please sign in to comment.