file_name: configtest.py def pytest_addoption(parser): parser.addoption( "--cmdopt", action="store", default="type1", help="my option: type1 or type2" ) ...
確定! 回上一頁