equal
deleted
inserted
replaced
43 configcls = PostgresApptestConfiguration |
43 configcls = PostgresApptestConfiguration |
44 |
44 |
45 def store_impl(self, cnx): |
45 def store_impl(self, cnx): |
46 source = cnx.create_entity('CWSource', type=u'datafeed', name=u'test', url=u'test') |
46 source = cnx.create_entity('CWSource', type=u'datafeed', name=u'test', url=u'test') |
47 cnx.commit() |
47 cnx.commit() |
48 metagen = stores.MetadataGenerator(cnx, source=cnx.repo.sources_by_eid[source.eid]) |
48 metagen = stores.MetadataGenerator(cnx, source=cnx.repo.source_by_eid(source.eid)) |
49 return MassiveObjectStore(cnx, metagen=metagen) |
49 return MassiveObjectStore(cnx, metagen=metagen) |
50 |
50 |
51 |
51 |
52 class MassImportSimpleTC(testlib.CubicWebTC): |
52 class MassImportSimpleTC(testlib.CubicWebTC): |
53 configcls = PostgresApptestConfiguration |
53 configcls = PostgresApptestConfiguration |