[koji-wrapper] Add test for passing release to image-build
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7c81c5aa9c
commit
33d5440a8a
@ -56,6 +56,7 @@ class KojiWrapperTest(KojiWrapperBaseTestCase):
|
|||||||
'kickstart': 'test-kickstart',
|
'kickstart': 'test-kickstart',
|
||||||
'ksurl': 'git://example.com/ks.git',
|
'ksurl': 'git://example.com/ks.git',
|
||||||
'distro': 'test-distro',
|
'distro': 'test-distro',
|
||||||
|
'release': '20160222.0',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/tmp/file'
|
'/tmp/file'
|
||||||
@ -78,6 +79,7 @@ class KojiWrapperTest(KojiWrapperBaseTestCase):
|
|||||||
mock.call('kickstart = test-kickstart\n'),
|
mock.call('kickstart = test-kickstart\n'),
|
||||||
mock.call('ksurl = git://example.com/ks.git\n'),
|
mock.call('ksurl = git://example.com/ks.git\n'),
|
||||||
mock.call('distro = test-distro\n'),
|
mock.call('distro = test-distro\n'),
|
||||||
|
mock.call('release = 20160222.0\n'),
|
||||||
mock.call('\n')])
|
mock.call('\n')])
|
||||||
|
|
||||||
def test_get_image_paths(self):
|
def test_get_image_paths(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user