File: template.py

package info (click to toggle)
pytest-env 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 136 kB
  • sloc: python: 257; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from __future__ import annotations

import ast
import os


def test_env() -> None:
    for key, value in ast.literal_eval(os.environ["_TEST_ENV"]).items():
        assert os.environ[key] == value, key