From fe87830da2a82f9fea5f77e6749202ad1c3228e2 Mon Sep 17 00:00:00 2001 From: wanghao Date: Tue, 29 May 2018 15:33:43 +0800 Subject: [PATCH] Make doc more clearness Now when running functional and unit tests, if user wants to use a custom MongoDB instance, he needs to set two environment variables: "ZAQAR_TEST_MONGODB_URL" and "ZAQAR_TEST_MONGODB". Change-Id: I98fe958bfb4fb7f3913de0d0bdc2490f3b441f1b --- doc/source/contributor/running_tests.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/source/contributor/running_tests.rst b/doc/source/contributor/running_tests.rst index 943b04e70..ee8e131dd 100644 --- a/doc/source/contributor/running_tests.rst +++ b/doc/source/contributor/running_tests.rst @@ -137,10 +137,12 @@ Using a custom MongoDB instance ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you need to run functional tests against a non-default MongoDB installation, -you can set the ``ZAQAR_TEST_MONGODB_URL`` environment variable. For example: +you can set the ``ZAQAR_TEST_MONGODB_URL`` and ``ZAQAR_TEST_MONGODB`` +environment variables. For example: .. code-block:: console + $ export ZAQAR_TEST_MONGODB=True $ export ZAQAR_TEST_MONGODB_URL=mongodb://remote-server:27017 Using custom parameters