Fix a bug in MSE when a module requires a module that isn't also a buildrequire

This commit is contained in:
mprahl
2018-04-05 10:28:18 -04:00
parent c069c82dda
commit c2824138d3
2 changed files with 16 additions and 4 deletions

View File

@@ -205,6 +205,14 @@ class TestUtilsModuleStreamExpansion:
set([
frozenset(['foo:1', 'gtk:1'])
])),
({"gtk": ["1"], "foo": ["1"]}, {"gtk": ["1"]}, False,
set([
frozenset(['gtk:1:0:c2', 'platform:f28:0:c10'])
]),
set([
frozenset(['gtk:1'])
])),
])
def test_generate_expanded_mmds_buildrequires(
self, requires, build_requires, stream_ambigous, expected_xmd,