Do not pass a kwarg in test
This commit is contained in:
parent
f56bc1ca2f
commit
dea221a774
@ -100,7 +100,7 @@ class TestHierarchyCleanup(unittest.TestCase):
|
|||||||
self.mocked_shutil["rmtree"].avoids_symlink_attacks = False
|
self.mocked_shutil["rmtree"].avoids_symlink_attacks = False
|
||||||
h = Hierarchy("/tmp/backup")
|
h = Hierarchy("/tmp/backup")
|
||||||
|
|
||||||
h.cleanup(remove_snapshots=True)
|
h.cleanup()
|
||||||
|
|
||||||
self.mocked_shutil["rmtree"].assert_not_called()
|
self.mocked_shutil["rmtree"].assert_not_called()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user