Skip to content

Autodetect attachment mimetype and enhance create asset on khipu functional test.#124

Merged
eccles merged 1 commit intomainfrom
dev/eccles/attachment-mimetype
Apr 1, 2022
Merged

Autodetect attachment mimetype and enhance create asset on khipu functional test.#124
eccles merged 1 commit intomainfrom
dev/eccles/attachment-mimetype

Conversation

@eccles
Copy link
Contributor

@eccles eccles commented Mar 30, 2022

Problem:
Functest test_create_asset_khipu is skipped.
Attachments default to image/jpg which does not allow
for new autodetection of mime_type.

Solution:
Remove skip decorator to test_create_asset_khipu functional
test.
Default content type for attachment upload is now None.

Signed-off-by: Paul Hewlett phewlett76@gmail.com

@eccles eccles force-pushed the dev/eccles/attachment-mimetype branch 3 times, most recently from c743e51 to 1c76aeb Compare March 30, 2022 15:48
Problem:
Functest test_create_asset_khipu is skipped.
Attachments default to image/jpg which does not allow
for new autodetection of mime_type.
Latest version of 'click' removed function used by 'black'.

Solution:
Remove skip decorator to test_create_asset_khipu functional
test.
Default content type for attachment upload is now None.
Black version set to 22.3 or later.

Signed-off-by: Paul Hewlett <phewlett76@gmail.com>
@eccles eccles force-pushed the dev/eccles/attachment-mimetype branch from 1c76aeb to 2c1d4b7 Compare March 30, 2022 16:22
@eccles eccles changed the title Some functests are incorrect. Autodetect attachment mimetype and enhance create asset on khipu functional test. Apr 1, 2022
@eccles eccles merged commit 0379fd8 into main Apr 1, 2022
@eccles eccles deleted the dev/eccles/attachment-mimetype branch April 1, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants