def METHOD_NAME() -> None:
    digest_contents = DigestContents(
        [FileContent(path="tests/test_example1.py", content=EXAMPLE_TEST1)]
    )
    test_count = _count_pytest_tests(digest_contents)
    assert test_count == 2