Update tests

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-02-19 08:50:17 +01:00
parent b4a008f86a
commit 0fb8049fdd
3 changed files with 9 additions and 9 deletions

View File

@ -51,9 +51,9 @@ class _DummyCompose(object):
) )
self._logger = mock.Mock() self._logger = mock.Mock()
self.variants = { self.variants = {
'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64']), 'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64'], is_empty=False),
'Client': mock.Mock(uid='Client', arches=['amd64']), 'Client': mock.Mock(uid='Client', arches=['amd64'], is_empty=False),
'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64']), 'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64'], is_empty=False),
} }
self.im = mock.Mock() self.im = mock.Mock()
self.log_error = mock.Mock() self.log_error = mock.Mock()

View File

@ -40,9 +40,9 @@ class _DummyCompose(object):
) )
self._logger = mock.Mock() self._logger = mock.Mock()
self.variants = { self.variants = {
'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64']), 'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64'], is_empty=False),
'Client': mock.Mock(uid='Client', arches=['amd64']), 'Client': mock.Mock(uid='Client', arches=['amd64'], is_empty=False),
'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64']), 'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64'], is_empty=False),
} }
self.log_error = mock.Mock() self.log_error = mock.Mock()
self.get_image_name = mock.Mock(return_value='image-name') self.get_image_name = mock.Mock(return_value='image-name')

View File

@ -47,9 +47,9 @@ class _DummyCompose(object):
) )
self._logger = mock.Mock() self._logger = mock.Mock()
self.variants = { self.variants = {
'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64']), 'Server': mock.Mock(uid='Server', arches=['x86_64', 'amd64'], is_empty=False),
'Client': mock.Mock(uid='Client', arches=['amd64']), 'Client': mock.Mock(uid='Client', arches=['amd64'], is_empty=False),
'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64']), 'Everything': mock.Mock(uid='Everything', arches=['x86_64', 'amd64'], is_empty=False),
} }
self.im = mock.Mock() self.im = mock.Mock()
self.log_error = mock.Mock() self.log_error = mock.Mock()