mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update tests/pytests/functional/utils/user/test_get_group_dict.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
parent
ba82644375
commit
d940aa79b0
1 changed files with 1 additions and 8 deletions
|
@ -9,15 +9,8 @@ from tests.support.mock import patch
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.skip_on_windows,
|
||||
pytest.mark.skip_unless_on_linux(reason="Should only run in platforms which have duplicate GID support"),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.skip_on_platforms(
|
||||
darwin=True,
|
||||
freebsd=True,
|
||||
reason="This test should not run on FreeBSD and Mac due to lack of duplicate GID support",
|
||||
)
|
||||
def test_get_group_dict_with_improper_duplicate_root_group():
|
||||
with patch("salt.utils.user.get_group_list", return_value=["+", "root"]):
|
||||
group_list = salt.utils.user.get_group_dict("root")
|
||||
|
|
Loading…
Add table
Reference in a new issue