From 9ac8aef12bfeb0778a7b410bcf51e26c81565aec Mon Sep 17 00:00:00 2001 From: Liu Lan Date: Mon, 6 Sep 2021 19:25:09 +0800 Subject: [PATCH] docs: fix wrong example in README.rst Run: S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_bucket_list_empty But get an error: "ERROR: Failure: ValueError (No such test test_bucket_list_empty)". Because test_bucket_list_empty is a test case in s3tests_boto3 directory. Signed-off-by: Liu Lan --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index c36a8a7..f94f7f2 100644 --- a/README.rst +++ b/README.rst @@ -26,15 +26,15 @@ Once you have that file copied and edited, you can run the tests with:: You can specify which directory of tests to run:: - S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional + S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests_boto3.functional You can specify which file of tests to run:: - S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3 + S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests_boto3.functional.test_s3 You can specify which test to run:: - S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_bucket_list_empty + S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests_boto3.functional.test_s3:test_bucket_list_empty To gather a list of tests being run, use the flags::