未提供项目描述
项目描述
pytest_defer - pytest的"defer" fixture
def test_example(defer):
# All functions appended to defer will execute at test end in reverse order
instance1 = spin_instance()
defer.append(delete_instance, instance1) # called second
instance2 = spin_instance()
defer.append(delete_instance, instance2, timeout=30) # called first
# Test code using instance1 & instance2
...
项目详情
关闭
pytest-defer-0.2.0.tar.gz的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 65507e1616a57fc1e0f9c5773518bcbebc9fad61365f0f83b3700c3e5adaf2f4 |
|
MD5 | ce4a0f5b7ceddbbe7bd5cbece2c40d24 |
|
BLAKE2b-256 | 20b9ec4f74aa2e2fe3ab1409bba0a171d9ae2a53969df179280f058c8ff2b7c6 |