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(
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):