我想将命令行参数传递给py.test进行夹具创建。例如,我想将数据库主机名传递给下面的夹具创建,因此它不会被硬编码: import pytest def pytest_addoption(parser): ...
確定! 回上一頁