Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat test_populator.py
- from pytest import fixture
- @fixture(scope='session')
- def custom_settings():
- return {
- 'kotti.populators': 'mypackage.populate.populate',
- }
- @fixture
- def config(config):
- config.include('mypackage.events')
- return config
- def test_populator(app, content, root):
- ...
Advertisement
RAW Paste Data
Copied
Advertisement