Now if we want to mock an API in the fixture, it can be done as follows: in conftest.py. import response from pytest import fixture @fixture def client(): ...
確定! 回上一頁