Skip to content

Commit

Permalink
Update testinfra/modules/group.py
Browse files Browse the repository at this point in the history
  • Loading branch information
philpep committed May 19, 2023
1 parent bc42787 commit bbace6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testinfra/modules/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def gid(self):
return int(self.check_output("getent group %s | cut -d':' -f3", self.name))

@property
def user_list(self):
def members(self):
"""Return all users that are members of this group."""
users = self.check_output("getent group %s | cut -d':' -f4", self.name)
if users:
Expand Down

0 comments on commit bbace6e

Please sign in to comment.