Switch to unified view
a/Allura/allura/tests/unit/factories.py | b/Allura/allura/tests/unit/factories.py | ||
---|---|---|---|
... |
... |
||
35 | def create_app_config(project, mount_point): |
35 | def create_app_config(project, mount_point): |
36 | return AppConfig( |
36 | return AppConfig( |
37 | project_id=project._id, |
37 | project_id=project._id, |
38 | tool_name='myapp', |
38 | tool_name='myapp', |
39 | options={'mount_point': 'my_mounted_app'}, |
39 | options={'mount_point': 'my_mounted_app'}, |
40 | acl={})
|
40 | acl=[])
|
41 | 41 | ||
42 | 42 | ||
43 | @flush_on_return |
43 | @flush_on_return |
44 | def create_post(slug): |
44 | def create_post(slug): |
45 | discussion = create_discussion() |
45 | discussion = create_discussion() |