Skip to content

Commit c9d609b

Browse files
async
1 parent a612a2b commit c9d609b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bindings/python/tests/test_operator_construction.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ def test_operator_new_with_path():
2424
op = opendal.Operator("memory", root=Path("/tmp"))
2525
assert op is not None
2626
assert op.capability().read
27+
28+
29+
@pytest.mark.asyncio
30+
def test_async_operator_new_with_path():
31+
op = opendal.AsyncOperator("memory", root=Path("/tmp"))
32+
assert op is not None
33+
assert op.capability().read

0 commit comments

Comments
 (0)