From: Alfredo Deza Date: Fri, 7 Oct 2016 13:01:04 +0000 (-0400) Subject: ceph-disk: update tests to use the new exit flag X-Git-Tag: v11.1.0~16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2cb9bfe6e46f5390f38c676421919d05046e8e2d;p=ceph.git ceph-disk: update tests to use the new exit flag Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-disk/tests/test_prepare.py b/src/ceph-disk/tests/test_prepare.py index 3f9ff8624992..2e475832d8dc 100644 --- a/src/ceph-disk/tests/test_prepare.py +++ b/src/ceph-disk/tests/test_prepare.py @@ -154,7 +154,7 @@ class TestDevice(Base): partition_number, main.PTYPE['regular']['journal']['ready']), '--mbrtogpt', '--', path] - m_command_check_call.assert_called_with(command) + m_command_check_call.assert_called_with(command, exit=True) m_update_partition.assert_called_with(path, 'created') actual_partition_number = device.create_partition( @@ -167,7 +167,7 @@ class TestDevice(Base): partition_number, main.PTYPE['regular']['journal']['ready']), '--mbrtogpt', '--', path] - m_command_check_call.assert_called_with(command) + m_command_check_call.assert_called_with(command, exit=True) class TestDevicePartition(Base):