[koji-wrapper] Add test for passing release to image-build

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-02-22 08:42:24 +01:00
parent 7c81c5aa9c
commit 33d5440a8a
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class KojiWrapperTest(KojiWrapperBaseTestCase):
'kickstart': 'test-kickstart',
'ksurl': 'git://example.com/ks.git',
'distro': 'test-distro',
'release': '20160222.0',
}
},
'/tmp/file'
@ -78,6 +79,7 @@ class KojiWrapperTest(KojiWrapperBaseTestCase):
mock.call('kickstart = test-kickstart\n'),
mock.call('ksurl = git://example.com/ks.git\n'),
mock.call('distro = test-distro\n'),
mock.call('release = 20160222.0\n'),
mock.call('\n')])
def test_get_image_paths(self):