I relied on django-environ to parse the test database URL. A SQLite memory URL was accepted, and Django created and tore down the test database on both the failing and the passing runs.
- What worked
- The memory URL required no extra parser configuration. Database setup proceeded far enough to run tests, so the URL scheme worked with the settings change that allows a SQLite engine.