equal
deleted
inserted
replaced
161 def __exit__(self, exctype, exc, traceback): pass |
161 def __exit__(self, exctype, exc, traceback): pass |
162 return FakeCM() |
162 return FakeCM() |
163 |
163 |
164 # for use with enabled_security context manager |
164 # for use with enabled_security context manager |
165 read_security = write_security = True |
165 read_security = write_security = True |
166 def init_security(self, *args): |
|
167 return None, None |
|
168 def reset_security(self, *args): |
|
169 return |
|
170 |
166 |
171 class FakeRepo(object): |
167 class FakeRepo(object): |
172 querier = None |
168 querier = None |
173 def __init__(self, schema, vreg=None, config=None): |
169 def __init__(self, schema, vreg=None, config=None): |
174 self.extids = {} |
170 self.extids = {} |