0011-tests-don-t-run-text-pages-tests-with-backoffice-ope.patch
tests/test_texts.py | ||
---|---|---|
13 | 13 |
pub = create_temporary_pub() |
14 | 14 |
req = HTTPRequest(None, {}) |
15 | 15 |
pub._set_request(req) |
16 |
# create an user otherwise the backoffice is open and a button to edit the |
|
17 |
# text gets automatically added. |
|
18 |
user = pub.user_class(name='foo') |
|
19 |
user.store() |
|
16 | 20 | |
17 | 21 |
def teardown_module(module): |
18 | 22 |
shutil.rmtree(pub.APP_DIR) |
19 |
- |