How do I require fixtures in a pytest plugin?

后端 未结 0 525
忘掉有多难
忘掉有多难 2021-02-04 07:56

I followed the pytest docs to create this very simple attempt at a plugin:

import pytest

@pytest.fixture
def derp():
    return 42


def pytest_collect_file(pare         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题