Get baseline 100% clean coverage (#1553)

This commit is contained in:
Max Isbey 2025-11-11 13:09:32 +00:00 • committed by GitHub
commit 89e9c43acf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ class TestFunctionResource:
def test_function_resource_creation(self):
"""Test creating a FunctionResource."""
def my_func() -> str:
def my_func() -> str: # pragma: no cover
return "test content"
resource = FunctionResource(
@ -141,7 +141,7 @@ class TestFunctionResource:
async def test_from_function(self):
"""Test creating a FunctionResource from a function."""
async def get_data() -> str:
async def get_data() -> str: # pragma: no cover
"""get_data returns a string"""
return "Hello, world!"