【发布时间】:2016-08-18 12:19:38
【问题描述】:
我正在学习用 tox 编写测试。如何将参数传递给 tox/py.test 中的测试函数?例如,在 test_simple_backup_generation 和 tests/test_backup_cmd.py 中的 django-backup extension 中有三个参数 tmpdir、settings、db。我不知道他们是从哪里来的。在 tox 文档中也没有提到这一点。
【问题讨论】:
标签: python automated-tests pytest tox