From e1c61dacc6fd43408e0ac2758ed6f488b4f59942 Mon Sep 17 00:00:00 2001 From: timeshifter Date: Tue, 3 May 2022 21:59:36 +0200 Subject: [PATCH] remove duplicate test --- test_zfs_backup.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test_zfs_backup.py b/test_zfs_backup.py index fdf7b08..8972b38 100644 --- a/test_zfs_backup.py +++ b/test_zfs_backup.py @@ -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", [