File: conftest.py

package info (click to toggle)
flask-debugtoolbar 0.16.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,088 kB
  • sloc: python: 1,388; javascript: 856; makefile: 17; sh: 14
file content (8 lines) | stat: -rw-r--r-- 200 bytes parent folder | download
1
2
3
4
5
6
7
8
from __future__ import annotations

import pytest


@pytest.fixture(autouse=True)
def mock_env_development(monkeypatch: pytest.MonkeyPatch) -> None:
    monkeypatch.setenv("FLASK_ENV", "development")