Xuanwo commented on code in PR #3402:
URL: 
https://github.com/apache/incubator-opendal/pull/3402#discussion_r1375845558


##########
bindings/python/tests/test_services.py:
##########
@@ -199,6 +199,18 @@ async def test_async_delete(self):
         await self.async_operator.delete(filename)
         with pytest.raises(FileNotFoundError):
             await self.operator.stat(filename)
+    
+    def test_capability(self):
+        cap = self.operator.capability()
+        assert cap is not None
+        assert cap.read is not None
+        assert cap.write

Review Comment:
   It's not true. Not all services implements `write`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to