This is an automated email from the ASF dual-hosted git repository.
messense pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 4c70d4890 fix(bindings/python): Fix the test command in doc (#3541)
4c70d4890 is described below
commit 4c70d489054740271c00bc68116730b1eb9516ae
Author: Xiang Liao <[email protected]>
AuthorDate: Thu Nov 9 09:44:54 2023 +0800
fix(bindings/python): Fix the test command in doc (#3541)
---
bindings/python/CONTRIBUTING.md | 3 ++-
bindings/python/README.md | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/bindings/python/CONTRIBUTING.md b/bindings/python/CONTRIBUTING.md
index 9b428b10c..96ba53051 100644
--- a/bindings/python/CONTRIBUTING.md
+++ b/bindings/python/CONTRIBUTING.md
@@ -71,7 +71,8 @@ OpenDAL adopts `pytest` for behavior tests:
```shell
maturin develop -E test
-OPENDAL_MEMORY_TEST=on pytest -vk TestMemory
+# To run `test_write.py` and use `fs` operator
+OPENDAL_TEST=fs opendal_fs_root=/tmp pytest -vk test_write
```
## Docs
diff --git a/bindings/python/README.md b/bindings/python/README.md
index 87b1ea226..56717c6e0 100644
--- a/bindings/python/README.md
+++ b/bindings/python/README.md
@@ -70,7 +70,8 @@ Run some tests:
```shell
maturin develop -E test
-OPENDAL_MEMORY_TEST=on pytest -vk TestMemory
+# To run `test_write.py` and use `fs` operator
+OPENDAL_TEST=fs opendal_fs_root=/tmp pytest -vk test_write
```
Build API docs: