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

Val: video test stubs and media-proxy related fixtures #304

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

Conversation

MateuszGrabuszynski
Copy link
Collaborator

@MateuszGrabuszynski MateuszGrabuszynski commented Jan 10, 2025

Add: stub for fixtures relating to media_proxy process lifecycle (spawning, killing)
Add: removal of sent file at the end of test to avoid disk full errors
Add: tests of mock for cluster and st2110 video transfers
Fix: wrong connection.st2110.transport value
Add: todos for further code extension
in tests/validation: Extending copyright with 2024-2025
in tests/validation: Removing 'Intel(R)' from Media Communications Mesh

Follow up to #296.

Base automatically changed from val-dev to main January 13, 2025 14:53
Falron98
Falron98 previously approved these changes Jan 21, 2025
Copy link
Collaborator

@Falron98 Falron98 left a comment

Choose a reason for hiding this comment

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

LGTM

def remove_sent_file(file_path: str, app_path: str):
# filepath "/x/y/z.yuv", app_path "/a/b/"
# removes /a/b/z.yuv
removal_path = f'{app_path}/{file_path.split("/")[-1]}'

Choose a reason for hiding this comment

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

using Pathlib is more convenient I believe

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it is, let me change that, thanks for the suggestion :)

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.

6 participants