| |
@@ -340,7 +340,11 @@
|
| |
'typeinfo': {
|
| |
'module': {
|
| |
'content_koji_tag': 'module-b62270b82443edde',
|
| |
- 'modulemd_str': mock.Mock()}
|
| |
+ 'modulemd_str': mock.Mock(),
|
| |
+ 'name': 'testmodule2',
|
| |
+ 'stream': 'master',
|
| |
+ 'version': '20180406051653',
|
| |
+ 'context': '96c371af'}
|
| |
}
|
| |
}
|
| |
mock_build_md = [
|
| |
@@ -464,14 +468,22 @@
|
| |
'typeinfo': {
|
| |
'module': {
|
| |
'content_koji_tag': 'module-b62270b82443edde',
|
| |
- 'modulemd_str': mock.Mock()}
|
| |
+ 'modulemd_str': mock.Mock(),
|
| |
+ 'name': 'testmodule2',
|
| |
+ 'stream': 'master',
|
| |
+ 'version': '20180406051653',
|
| |
+ 'context': '2e6f5e0a'}
|
| |
}
|
| |
},
|
| |
{
|
| |
'typeinfo': {
|
| |
'module': {
|
| |
'content_koji_tag': 'module-52e40b9cdd3c0f7d',
|
| |
- 'modulemd_str': mock.Mock()}
|
| |
+ 'modulemd_str': mock.Mock(),
|
| |
+ 'name': 'testmodule2',
|
| |
+ 'stream': 'master',
|
| |
+ 'version': '20180406051653',
|
| |
+ 'context': '96c371af'}
|
| |
}
|
| |
}
|
| |
]
|
| |
Stream can contain dash sign and when MBS imports such NSVC to Koji, the dash is replaced with
underscore. The current Pungi code does not respect that and tries to use the stream from Koji
directly, which results in wrong stream being using in some Pungi internal data.
In this PR, the NSVC is taken from module metadata section of CG Koji build, which contains
real stream including the dashes.
Signed-off-by: Jan Kaluza jkaluza@redhat.com