tests/test_fritzcollectd.py
def fc_class_mock(mocker):
    """Fixture that sets up a mocked FritzConnection class."""
    result = mocker.patch('fritzconnection.FritzConnection', autospec=True)
    result.return_value = FritzConnectionMock()
    yield result
Fixture that sets up a mocked FritzConnection class.
Fixture that sets up a mocked FritzConnection class.
Fixture that sets up a mocked FritzConnection class .
def fc_class_mock(mocker):
    result = mocker.patch('fritzconnection.FritzConnection', autospec=True)
    result.return_value = FritzConnectionMock()
    yield result
def fc_class_mock ( mocker ) : result = mocker . patch ( 'fritzconnection.FritzConnection' , autospec = True ) result . return_value = FritzConnectionMock ( ) yield result
Fixture that sets up a mocked FritzConnection class.
Fixture that sets up a mocked FritzConnection class .
"""Fixture that sets up a mocked FritzConnection class."""
mocker