List of articles
- 1.assert Assertion -------( recommend )
- (1). When all the checks are correct
- (2). There is a time when the verification fails
- 2.pytest.assume Assertion
1.assert Assertion -------( recommend )
The most common is this , Simple 、 simple 、 To use , By spectrum !!!
(1). When all the checks are correct
import pytest
import time
def calculate_time(func):
def fu