From 19f84150ab06ae71e25ee48ba7f7285eb0402738 Mon Sep 17 00:00:00 2001 From: "Bob \"Wombat\" Hogg" Date: Wed, 16 Nov 2022 21:14:37 -0500 Subject: [PATCH] docs(CONTRIBUTING): Note the need for Redis/Memcached env vars in tests (#838) Fixes #836 Co-authored-by: Anthonios Partheniou --- CONTRIBUTING.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 633bb620..7d5de7c9 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -78,6 +78,12 @@ We use `nox `__ to instrument our tests. .. nox: https://pypi.org/project/nox-automation/ +- To run unit tests that use Memcached or Redis, you must have them running and set the appropriate environment variables: + + $ export MEMCACHED_HOSTS=localhost:11211 + $ export REDIS_CACHE_URL=http://localhost:6379 + + Note on Editable Installs / Develop Mode ========================================