]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Revert "tests/: extend basic groupdel tests"
authorSerge Hallyn <serge@hallyn.com>
Thu, 22 May 2025 11:27:11 +0000 (06:27 -0500)
committerGitHub <noreply@github.com>
Thu, 22 May 2025 11:27:11 +0000 (06:27 -0500)
This reverts commit 7924fdb94bb8d34cf9480914d77c4a514c643c59.

tests/system/tests/test_groupdel.py

index c2ac2a2ccc8992f821d2672b6a1c1f91a349c721..90684ac027a36c6ee87e662ffdaff110af5c7081 100644 (file)
@@ -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"