Answers for "pytest use fixture without running any tests"

0

pytest use fixture without running any tests

# conftest.py
import my_test

def pytest_configure(config):
    my_test.my_global_variable = config.getoption("--parameter")
Posted by: Guest on April-22-2022

Python Answers by Framework

Browse Popular Code Answers by Language