sys.modules[__name__], 'func_to_mock')
+@pytest.mark.unittest
@pytest.mark.integrationtest
def test_make_mock_fixture_fixture(mocked_func):
# The mock of the function works
sys.modules[__name__], 'func_to_mock')
+@pytest.mark.unittest
@pytest.mark.integrationtest
def test_make_magicmock_fixture_no_autospec(magic_mocked_func):
# The mock of the function works
sys.modules[__name__], 'func_to_mock', autospec=True)
+@pytest.mark.unittest
@pytest.mark.integrationtest
def test_make_magicmock_fixture_autospec(magic_mocked_autospecced_func):
# The mock of the function works
mocked_method = testing.instance_method_mock_fixture('method_to_mock')
+@pytest.mark.unittest
@pytest.mark.integrationtest
def test_instance_method_mock_fixture(mocked_method):
# The mock of the instance method works
assert result == test_value
+@pytest.mark.unittest
+@pytest.mark.integrationtest
def test_instance_method_mock_fixture_unmocked():
# The test class works after the mocking