equal
deleted
inserted
replaced
171 self._count = 0 |
171 self._count = 0 |
172 self.schema = schema |
172 self.schema = schema |
173 self.config = config or FakeConfig() |
173 self.config = config or FakeConfig() |
174 self.vreg = vreg or CWRegistryStore(self.config, initlog=False) |
174 self.vreg = vreg or CWRegistryStore(self.config, initlog=False) |
175 self.vreg.schema = schema |
175 self.vreg.schema = schema |
176 self.sources = [] |
|
177 |
176 |
178 def internal_session(self): |
177 def internal_session(self): |
179 return FakeSession(self) |
178 return FakeSession(self) |
180 |
179 |
181 def extid2eid(self, source, extid, etype, session, insert=True): |
180 def extid2eid(self, source, extid, etype, session, insert=True): |