Add reproducer for #954

This commit is contained in:
Mikolaj Izdebski
2018-06-18 14:11:27 +02:00
parent 5e12152acd
commit a22f663d4a

View File

@@ -137,6 +137,7 @@ class TestUtilsModuleStreamExpansion:
self._make_module("foo:2:0:c5", {"platform": ["f29"]}, {})
self._make_module("platform:f28:0:c10", {}, {})
self._make_module("platform:f29:0:c11", {}, {})
self._make_module("app:1:0:c6", {"platform": ["f29"]}, {})
def test_generate_expanded_mmds_context(self):
self._generate_default_modules()
@@ -206,6 +207,14 @@ class TestUtilsModuleStreamExpansion:
set([
frozenset(['gtk:1'])
])),
({}, {"app": ["1"]}, False,
set([
frozenset(['app:1:0:c6', 'platform:f29:0:c11'])
]),
set([
frozenset([])
])),
])
def test_generate_expanded_mmds_buildrequires(
self, requires, build_requires, stream_ambigous, expected_xmd,