aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
309 stars 51 forks source link

TEST: regression with tests/integration/test_uutiset_it.py #297

Closed juippis closed 2 years ago

juippis commented 2 years ago
============================================= FAILURES =============================================
__________________________________ test_uutiset_headline_metadata __________________________________

    def test_uutiset_headline_metadata():
        # This page has a video embedded as "headline.video"
        metadata = fetch_metadata('https://yle.fi/uutiset/3-11796748')

        assert len(metadata) == 1
        assert metadata[0]['webpage'] == 'https://areena.yle.fi/1-50765436'
        assert metadata[0]['title'].startswith('Yle Uutiset suora: Missä mennään rokotehankkeessa')
>       assert metadata[0]['duration_seconds'] == 3547
E       assert 3820 == 3547

tests/integration/test_uutiset_it.py:35: AssertionError
===================================== short test summary info ======================================
FAILED tests/integration/test_uutiset_it.py::test_uutiset_headline_metadata - assert 3820 == 3547
======================= 1 failed, 104 passed, 2 skipped in 150.87s (0:02:30) =======================
 * ERROR: media-video/yle-dl-20220213::gentoo failed (test phase):
 *   Tests failed with python3.9

Watching time for https://areena.yle.fi/1-50765436 has expired. xfailing this test allows the test phase to pass.

104 passed, 2 skipped, 1 xfailed in 132.64s (0:02:12)
aajanki commented 2 years ago

Thanks for notifying. I found another video to replace the expired test case.