From 2cb9bfe6e46f5390f38c676421919d05046e8e2d Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 7 Oct 2016 09:01:04 -0400 Subject: [PATCH] ceph-disk: update tests to use the new exit flag Signed-off-by: Alfredo Deza --- src/ceph-disk/tests/test_prepare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ceph-disk/tests/test_prepare.py b/src/ceph-disk/tests/test_prepare.py index 3f9ff862499..2e475832d8d 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): -- 2.39.5