equal
deleted
inserted
replaced
78 user_extid = b'http://somewhere.com/user/1' |
78 user_extid = b'http://somewhere.com/user/1' |
79 |
79 |
80 def store_impl(self, cnx): |
80 def store_impl(self, cnx): |
81 source = cnx.create_entity('CWSource', type=u'datafeed', name=u'test', url=u'test') |
81 source = cnx.create_entity('CWSource', type=u'datafeed', name=u'test', url=u'test') |
82 cnx.commit() |
82 cnx.commit() |
83 metagen = stores.MetadataGenerator(cnx, source=cnx.repo.sources_by_eid[source.eid]) |
83 metagen = stores.MetadataGenerator(cnx, source=cnx.repo.source_by_eid(source.eid)) |
84 return stores.NoHookRQLObjectStore(cnx, metagen) |
84 return stores.NoHookRQLObjectStore(cnx, metagen) |
85 |
85 |
86 |
86 |
87 class MetaGeneratorTC(CubicWebTC): |
87 class MetaGeneratorTC(CubicWebTC): |
88 metagenerator_impl = stores.MetaGenerator |
88 metagenerator_impl = stores.MetaGenerator |