Skip to content

test: convert functional tests into proper python tests#325

Open
ylatuya wants to merge 1 commit intofluendo:masterfrom
ylatuya:unittest
Open

test: convert functional tests into proper python tests#325
ylatuya wants to merge 1 commit intofluendo:masterfrom
ylatuya:unittest

Conversation

@ylatuya
Copy link
Copy Markdown
Contributor

@ylatuya ylatuya commented Dec 11, 2025

No description provided.

@ylatuya ylatuya force-pushed the unittest branch 2 times, most recently from a8cc672 to 2c60796 Compare December 11, 2025 23:25
@ylatuya
Copy link
Copy Markdown
Contributor Author

ylatuya commented Feb 13, 2026

@mdimopoulos can you please review this?

@ylatuya ylatuya requested a review from mdimopoulos February 13, 2026 09:42
@ylatuya
Copy link
Copy Markdown
Contributor Author

ylatuya commented Apr 29, 2026

@rsanchez87 can you please review this?

@rsanchez87
Copy link
Copy Markdown
Contributor

rsanchez87 commented Apr 29, 2026

CI is failing due to www.itu.int returning 503. This affects H264-min and H265-min test suites which depend on that server.

There is no quick fix possible since the result checksums are decoder-dependent, we need to wait for the ITU server to recover or find alternative mirrors.

Unrelated to this PR.

Comment thread tests/test_functional.py

class TestReference(unittest.TestCase):
def setUp(self) -> None:
run_fluster(["download", "dummy", "-k"])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

setUp ignores the return value, if the download fails, the test crashes with FileNotFoundError instead of a clean skip,

reproduced locally after rm -rf resources/dummy

maybe this is a solution:


if result.returncode != 0:
        self.skipTest(f"Download failed: {result.stderr}")

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