misc: move backoffice pages tests
This commit is contained in:
parent
213b769d99
commit
111569ff59
|
@ -636,7 +636,7 @@ def test_backoffice_image_column(pub):
|
|||
formdef.store()
|
||||
|
||||
upload = PicklableUpload('test.jpeg', 'image/jpeg')
|
||||
jpg = open(os.path.join(os.path.dirname(__file__), 'image-with-gps-data.jpeg'), 'rb').read()
|
||||
jpg = open(os.path.join(os.path.dirname(__file__), '..', 'image-with-gps-data.jpeg'), 'rb').read()
|
||||
upload.receive([jpg])
|
||||
for formdata in formdef.data_class().select(lambda x: x.status == 'wf-new'):
|
||||
formdata.data['4'] = upload
|
Loading…
Reference in New Issue