marcgibbons / dynaconf-pytest-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynaconf & pytest

This example demonstrates how to dynamically modify Dynaconf setting values in pytest using an auto-use fixture.

It loads the "production" settings file, and merges a separate settings file specific to the test suite (good for setting global, deterministic values).

See my blog post for context.

About


Languages

Language:Python 100.0%