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
This commit is contained in:
wanghao 2018-05-29 15:33:43 +08:00
parent 66e87d4856
commit fe87830da2

View File

@ -137,10 +137,12 @@ Using a custom MongoDB instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you need to run functional tests against a non-default MongoDB installation, 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 .. code-block:: console
$ export ZAQAR_TEST_MONGODB=True
$ export ZAQAR_TEST_MONGODB_URL=mongodb://remote-server:27017 $ export ZAQAR_TEST_MONGODB_URL=mongodb://remote-server:27017
Using custom parameters Using custom parameters