diff options
| -rw-r--r-- | tests/osdict.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/osdict.py b/tests/osdict.py index 54c34e61..eff907e3 100644 --- a/tests/osdict.py +++ b/tests/osdict.py @@ -71,12 +71,12 @@ class TestOSDB(unittest.TestCase): found_fedora = False found_rhel = False for idx, osobj in enumerate(pref_list[:]): - if osobj.name.startswith("fedora"): + if osobj.urldistro == "fedora": found_fedora = True continue for osobj2 in pref_list[idx:]: - if osobj2.name.startswith("rhel"): + if osobj2.urldistro == "rhel": found_rhel = True continue break |
