diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c50ebec4a85..1276ad92c758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Versions are `MAJOR.PATCH`. ### Deprecated ### Changed + +- [#56731](https://github.com/saltstack/salt/pull/56731) - Backport #53994 - [#56753](https://github.com/saltstack/salt/pull/56753) - Backport 51095 ### Fixed diff --git a/tests/unit/daemons/test_masterapi.py b/tests/unit/daemons/test_masterapi.py index cefd7416a2e6..a6cd9e3927c3 100644 --- a/tests/unit/daemons/test_masterapi.py +++ b/tests/unit/daemons/test_masterapi.py @@ -105,7 +105,8 @@ def test_check_permissions_others_can_write(self): @patch_check_permissions() def test_check_permissions_group_can_write_not_permissive(self): """ - Assert that a file is accepted, when group can write to it and perkissive_pki_access=False + Assert that a file is accepted, when group can write to it and + permissive_pki_access=False """ self.stats["testfile"] = {"mode": gen_permissions("w", "w", ""), "gid": 1} if salt.utils.platform.is_windows(): @@ -116,7 +117,8 @@ def test_check_permissions_group_can_write_not_permissive(self): @patch_check_permissions(permissive_pki=True) def test_check_permissions_group_can_write_permissive(self): """ - Assert that a file is accepted, when group can write to it and perkissive_pki_access=True + Assert that a file is accepted, when group can write to it and + permissive_pki_access=True """ self.stats["testfile"] = {"mode": gen_permissions("w", "w", ""), "gid": 1} self.assertTrue(self.auto_key.check_permissions("testfile")) @@ -124,8 +126,8 @@ def test_check_permissions_group_can_write_permissive(self): @patch_check_permissions(uid=0, permissive_pki=True) def test_check_permissions_group_can_write_permissive_root_in_group(self): """ - Assert that a file is accepted, when group can write to it, perkissive_pki_access=False, - salt is root and in the file owning group + Assert that a file is accepted, when group can write to it, + permissive_pki_access=False, salt is root and in the file owning group """ self.stats["testfile"] = {"mode": gen_permissions("w", "w", ""), "gid": 0} self.assertTrue(self.auto_key.check_permissions("testfile")) @@ -133,8 +135,9 @@ def test_check_permissions_group_can_write_permissive_root_in_group(self): @patch_check_permissions(uid=0, permissive_pki=True) def test_check_permissions_group_can_write_permissive_root_not_in_group(self): """ - Assert that no file is accepted, when group can write to it, perkissive_pki_access=False, - salt is root and **not** in the file owning group + Assert that no file is accepted, when group can write to it, + permissive_pki_access=False, salt is root and **not** in the file owning + group """ self.stats["testfile"] = {"mode": gen_permissions("w", "w", ""), "gid": 1} if salt.utils.platform.is_windows():