Skip to content

Commit

Permalink
ceph-disk: update tests to use the new exit flag
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <[email protected]>
  • Loading branch information
Alfredo Deza committed Dec 9, 2016
1 parent 9be64fb commit 2cb9bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ceph-disk/tests/test_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_create_partition(self,
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(
Expand All @@ -167,7 +167,7 @@ def test_create_partition(self,
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):
Expand Down

0 comments on commit 2cb9bfe

Please sign in to comment.