Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/twisted/twisted
/ setUp
Method
setUp
src/twisted/python/test/test_util.py:149–153 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
147
""
"
148
149
def
setUp(self):
150
self.mockos = MockOS()
151
self.patch(util,
"os"
, self.mockos)
152
self.patch(util,
"initgroups"
, self.initgroups)
153
self.initgroupsCalls = []
154
155
def
initgroups(self, uid, gid):
156
""
"
Callers
nothing calls this directly
Calls
2
MockOS
Class · 0.90
patch
Method · 0.45
Tested by
no test coverage detected