diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/README.md | 2 | ||||
-rw-r--r-- | python/example.env (renamed from python/env.example) | 0 | ||||
-rw-r--r-- | python/tests/fixtures.py | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/python/README.md b/python/README.md index 2760885c..fe9a411d 100644 --- a/python/README.md +++ b/python/README.md @@ -34,7 +34,7 @@ server on the same machine by default), use: # will listen on http://localhost:9810 by default pipenv run fatcat_webface.py -Almost all configuration is done via environment variables; see `env.example` +Almost all configuration is done via environment variables; see `example.env` for a list of settings. If you copy this file to `.env` it will be sourced by `pipenv` automatically; you can also load it in your shell like `source .env`. diff --git a/python/env.example b/python/example.env index 4bf76e21..4bf76e21 100644 --- a/python/env.example +++ b/python/example.env diff --git a/python/tests/fixtures.py b/python/tests/fixtures.py index 3cc275b3..d7ebdac8 100644 --- a/python/tests/fixtures.py +++ b/python/tests/fixtures.py @@ -11,7 +11,7 @@ import fatcat_client @pytest.fixture def full_app(): - load_dotenv(dotenv_path="./env.example") + load_dotenv(dotenv_path="./example.env") fatcat_web.app.testing = True fatcat_web.app.debug = False return fatcat_web.app @@ -22,7 +22,7 @@ def app(full_app): @pytest.fixture def api(): - load_dotenv(dotenv_path="./env.example") + load_dotenv(dotenv_path="./example.env") conf = fatcat_client.Configuration() conf.host = "http://localhost:9411/v0" conf.api_key["Authorization"] = os.getenv("FATCAT_API_AUTH_TOKEN") |