Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AYR-1303 - Extent UV types #745

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

AYR-1303 - Extent UV types #745

wants to merge 3 commits into from

Conversation

ltrasca
Copy link
Collaborator

@ltrasca ltrasca commented Jan 22, 2025

Changes in this PR

  • Extended the range of file types/extensions that UV is given at manifest creation

JIRA ticket

https://national-archives.atlassian.net/browse/AYR-1303

  • Requires env variable(s) to be updated

@ltrasca ltrasca changed the title init AYR-1303 - Extent UV types Jan 22, 2025
],
)
def test_get_file_mimetype(file_type, expected_mimetype):
assert get_file_mimetype(file_type) == expected_mimetype
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a test case for an unsupported filtetype

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anthonyhashemi sure, been thinking about this one slightly, would an unsupported mime type just be application/octet-stream by default?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great question, but actually I think this function is no longer used once your other PR is merged in. That's right?

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.

2 participants