From d833fe59c5c87c87aa749b01bde13051b6b3e3ac Mon Sep 17 00:00:00 2001 From: Bob Hogg Date: Wed, 16 Nov 2022 21:02:42 +0000 Subject: [PATCH] docs(CONTRIBUTING): Note the need for Redis/Memcached env vars in tests Fixes #836 --- 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 ========================================