mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-11 07:47:12 +02:00
updates some tests to have a running event loop
This commit is contained in:
@ -125,7 +125,8 @@ def test_ColouredEnum_serialize() -> None:
|
||||
}
|
||||
|
||||
|
||||
def test_method_serialization() -> None:
|
||||
@pytest.mark.asyncio
|
||||
async def test_method_serialization() -> None:
|
||||
class ClassWithMethod(pydase.DataService):
|
||||
def some_method(self) -> str:
|
||||
return "some method"
|
||||
|
Reference in New Issue
Block a user