MCPcopy Create free account
hub / github.com/celery/celery / test_setgroups

Method test_setgroups

t/unit/utils/test_platforms.py:950–954  ·  view source on GitHub ↗
(self, hack)

Source from the content-addressed store, hash-verified

948 @t.skip.if_win32
949 @patch('celery.platforms._setgroups_hack')
950 def test_setgroups(self, hack):
951 with patch('os.sysconf') as sysconf:
952 sysconf.return_value = 100
953 setgroups(list(range(400)))
954 hack.assert_called_with(list(range(100)))
955
956 @t.skip.if_win32
957 @patch('celery.platforms._setgroups_hack')

Callers

nothing calls this directly

Calls 1

setgroupsFunction · 0.90

Tested by

no test coverage detected