mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbustest.py: Correct debug & assert order
If we do the assert first we won't get to the print statement.
This commit is contained in:
parent
ee7946ed82
commit
97b6486b27
@ -1734,10 +1734,10 @@ class TestDbusService(unittest.TestCase):
|
||||
path = self._lookup(resource_name)
|
||||
self.assertTrue(path != '/')
|
||||
else:
|
||||
self.assertTrue(ec == 0, "%s exit code = %d" % (operation, ec))
|
||||
std_err_print(
|
||||
"%s failed with stdout= %s, stderr= %s" %
|
||||
(operation, stdout, stderr))
|
||||
self.assertTrue(ec == 0, "%s exit code = %d" % (operation, ec))
|
||||
|
||||
def test_external_vg_create(self):
|
||||
# We need to ensure that if a user creates something outside of lvm
|
||||
|
Loading…
Reference in New Issue
Block a user