File size: 185 Bytes
aed86da
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# conftest.py
import pytest


@pytest.fixture
def unstub():
    """Ensure calls patched by mockito are cleared after each test"""
    from mockito import unstub

    yield
    unstub()