简体   繁体   English

我该如何反转py.test addopts?

[英]How can I reverse py.test addopts?

My py.test command is attached with extra options fixed. 我的py.test命令附有固定的其他选项。 Everytime I run py.test the options are automatically attached. 每次我运行py.test时,选项都会自动附加。

py.test --cov=ner_brands --cov-report=term-missing --cov-config

How can I remove these attached options? 如何删除这些附加的选件?

My guess is there is something specified in your conftest.py . 我的猜测是您的conftest.py指定了conftest.py See How to change command line options defaults . 请参阅如何更改命令行选项默认值

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM