Skip to content

Commit a602dc8

Browse files
committed
tests: add editor support for sandbox
Provides support for configuring the page's editor when running a sandbox environment. Signed-off-by: James Knight <[email protected]>
1 parent 2c6e30a commit a602dc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_sandbox.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def process_raw_upload(target_sandbox):
4646
'labels': [],
4747
}
4848

49+
if app.config.confluence_editor:
50+
data['editor'] = app.config.confluence_editor
51+
4952
with raw_file.open(encoding='utf-8') as f:
5053
data['content'] = f.read()
5154

0 commit comments

Comments
 (0)