remove duplicate test
This commit is contained in:
@@ -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",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user