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

[PY-606][external] Added tests for CSV tag uploads #727

Merged
merged 9 commits into from Dec 12, 2023
Merged

Conversation

JBWilkie
Copy link
Contributor

Problem

Previously, there were no tests for CSV tags. This meant that breaking changes may have been introduced and tests would not have picked them up

Solution

Introduced tests for CSV tags & CSV video tags

Changelog

Added tests for CSV tag & CSV video tag uploads

Copy link

linear bot commented Nov 21, 2023

PY-606 Create tests for uploading csv_tags & csv_tags_video annotations

While working on PY-605, we noticed that introducing support for csv_tags_video annotations in folders didn't break any tests. It should have. I can't find any csv_tags tests so we should write some covering imports to folder structures & flat structures

annotation_classes = set(
[annotation.annotation_class for annotation in annotations]
)
remote_path = "/" + "/".join(filename.split("/")[:-1])
Copy link
Contributor

Choose a reason for hiding this comment

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

this logic will break on windows because they treat paths with forward slashes will it not? Shouldn't something like pathlib be used

@Nathanjp91 Nathanjp91 merged commit c6c2e4e into master Dec 12, 2023
13 checks passed
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.

None yet

2 participants