conftest.py def pytest_namespace(): return {'my_big_dict': {'foo': 'bar'}}. And now you have pytest.my_big_dict . The fixture is probably still nicer though ...
確定! 回上一頁