MCPcopy
hub / github.com/celery/celery / pw_struct

Class pw_struct

t/unit/utils/test_platforms.py:226–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 getuid.return_value = 10
225
226 class pw_struct:
227 pw_gid = 50001
228
229 def raise_on_second_call(*args, **kwargs):
230 setuid.side_effect = OSError()

Callers 1

test_with_uidMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_with_uidMethod · 0.68