pytest-mock-examples icon indicating copy to clipboard operation
pytest-mock-examples copied to clipboard

Examples for the blog post on pytest-mock

Results 2 pytest-mock-examples issues
Sort by recently updated
recently updated
newest added

I am new to pytest. After "clone github" repo, "pip install -e .", and "pytest --durations=0" I got the following error messages: tests/test_mocking_constant_mocker.py, line 6 tests/test_mocking_constant_mocker.py, line 14 tests/test_slow_class.py, line...

It would be great if you could add an example for mocking a class instance function!