fix cases where dict views could not be used in place of lists

This commit is contained in:
Mike Bonnet
2019-02-04 15:12:06 -08:00
committed by mprahl
parent 6e62cf6867
commit a44e1fe4b0
3 changed files with 7 additions and 5 deletions

View File

@@ -368,8 +368,8 @@ class TestUtils:
mmd_pkg_refs = [pkg.get_ref() for pkg in mmd.get_rpm_components().values()]
assert set(mmd_pkg_refs) == set(hashes_returned.keys())
br = mmd.get_dependencies()[0].get_buildrequires()
assert br.keys() == ['platform']
assert br.values()[0].get() == ['f28']
assert list(br.keys()) == ['platform']
assert list(br.values())[0].get() == ['f28']
xmd = {
'mbs': {
'commit': '',