]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: update tests to use the new exit flag 12414/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 7 Oct 2016 13:01:04 +0000 (09:01 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 9 Dec 2016 12:52:25 +0000 (07:52 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-disk/tests/test_prepare.py

index 3f9ff8624992b7daf00b1dac9a4d19a84c00fe06..2e475832d8dc7fde0690d482209eb1e3549c16c5 100644 (file)
@@ -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):