remove duplicate test

This commit is contained in:
timeshifter
2022-05-03 21:59:36 +02:00
parent f23d277c5b
commit e1c61dacc6
-14
View File
@@ -138,20 +138,6 @@ class TestZFSPath:
def test_dataset(self, instance1, instance2):
assert instance1.dataset == instance2
@pytest.mark.parametrize(
"instance, result",
[
[ZFSPath(["pool", "dataset"]), "dataset"],
[ZFSPath(["pool", "dataset"], "snapshot"), "dataset@snapshot"],
],
ids=[
"pool with dataset",
"pool with dataset and snapshot",
],
)
def test_name_without_pool(self, instance, result):
assert instance.name_without_pool == result
@pytest.mark.parametrize(
"instance1, instance2",
[