From e4e39845a04186db9cf93136b7305c2d6eb24899 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Thu, 22 May 2025 06:27:11 -0500 Subject: [PATCH] Revert "tests/: extend basic groupdel tests" This reverts commit 7924fdb94bb8d34cf9480914d77c4a514c643c59. --- tests/system/tests/test_groupdel.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/system/tests/test_groupdel.py b/tests/system/tests/test_groupdel.py index c2ac2a2cc..90684ac02 100644 --- a/tests/system/tests/test_groupdel.py +++ b/tests/system/tests/test_groupdel.py @@ -18,11 +18,9 @@ def test_groupdel__delete_group(shadow: Shadow): 1. Create group 2. Delete group :steps: - 1. Check group entry - 2. Check gshadow entry + 1. Group doesn't exist :expectedresults: - 1. group entry for the user doesn't exist - 2. gshadow entry for the user doesn't exist + 1. Group is not found :customerscenario: False """ shadow.groupadd("tgroup") @@ -30,6 +28,3 @@ def test_groupdel__delete_group(shadow: Shadow): result = shadow.tools.getent.group("tgroup") assert result is None, "Group should not be found" - - result = shadow.tools.getent.gshadow("tgroup") - assert result is None, "Group should not be found" -- 2.47.2