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