From 9ee9b3a50aa7be0c1ae5c7281df9cd7964c02d20 Mon Sep 17 00:00:00 2001 From: justinxiang Date: Thu, 9 Nov 2023 00:23:34 +0800 Subject: [PATCH] fix(bindings/python): Fix the test command in doc --- 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 9b428b10c65..96ba5305198 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 87b1ea22614..56717c6e000 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: