import pytest

from posedetect_core.d2.video_utils import get_frame_count
from .test_helpers import fixture_path


@pytest.mark.parametrize(
    "video_path,expected_frame_count",
    [("resources/videos/one_person_no_cuts_01/video.mp4", 73)],
)
def test_get_frame_count(video_path, expected_frame_count):
    assert expected_frame_count == get_frame_count(fixture_path(video_path))

b405ebc667a3e35301f7f26cb6d94bb062a82a3d
<mask token>

<mask token>


@pytest.mark.parametrize('video_path,expected_frame_count', [(
    'resources/videos/one_person_no_cuts_01/video.mp4', 73)])
def test_get_frame_count(video_path, expected_frame_count):
    assert expected_frame_count == get_frame_count(fixture_path(video_path))

import pytest
from posedetect_core.d2.video_utils import get_frame_count
from .test_helpers import fixture_path


@pytest.mark.parametrize('video_path,expected_frame_count', [(
    'resources/videos/one_person_no_cuts_01/video.mp4', 73)])
def test_get_frame_count(video_path, expected_frame_count):
    assert expected_frame_count == get_frame_count(fixture_path(video_path))

import pytest

from posedetect_core.d2.video_utils import get_frame_count
from .test_helpers import fixture_path


@pytest.mark.parametrize(
    "video_path,expected_frame_count",
    [("resources/videos/one_person_no_cuts_01/video.mp4", 73)],
)
def test_get_frame_count(video_path, expected_frame_count):
    assert expected_frame_count == get_frame_count(fixture_path(video_path))
