Update test assertions to expect GID 1001 instead of 1000 to match
the new container environment where a CI user occupies ID 1000.
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
group_entry = shadow.tools.getent.group("tgroup")
assert group_entry is not None, "Group should be found"
assert group_entry.name == "tgroup", "Incorrect groupname"
- assert group_entry.gid == 1000, "Incorrect GID"
+ assert group_entry.gid == 1001, "Incorrect GID"
if shadow.host.features["gshadow"]:
gshadow_entry = shadow.tools.getent.gshadow("tgroup")