From: Mykola Golub Date: Wed, 13 Nov 2019 14:12:12 +0000 (+0000) Subject: test/pybind: inconsistent use of tabs and spaces in indentation X-Git-Tag: v15.1.0~852^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6fc48763991f8f374caeccdf35d848c158d86b59;p=ceph.git test/pybind: inconsistent use of tabs and spaces in indentation Signed-off-by: Mykola Golub --- diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index 9199369c3507..f1e0e1e06587 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -809,13 +809,13 @@ class TestImage(object): eq([], list(self.image.list_snaps())) def test_remove_snap_by_id(self): - eq([], list(self.image.list_snaps())) - self.image.create_snap('snap1') - eq(['snap1'], [snap['name'] for snap in self.image.list_snaps()]) - for snap in self.image.list_snaps(): - snap_id = snap["id"] - self.image.remove_snap_by_id(snap_id) - eq([], list(self.image.list_snaps())) + eq([], list(self.image.list_snaps())) + self.image.create_snap('snap1') + eq(['snap1'], [snap['name'] for snap in self.image.list_snaps()]) + for snap in self.image.list_snaps(): + snap_id = snap["id"] + self.image.remove_snap_by_id(snap_id) + eq([], list(self.image.list_snaps())) def test_rename_snap(self): eq([], list(self.image.list_snaps()))