@mock.patch('fbpush.push.logger.info')
    def test_getConfiguration(self, mock_logger):
        self.mock_JunoscriptRpc.updateStatus = mock.MagicMock()
        self.mock_JunoscriptRpc.getConfiguration()
        msg = 'Retrieving configuration from device %s'
        kwargs = {}
        kwargs['compare'] = 'rollback'
        kwargs['rollback'] = '0'

        # Now call send_xml_call method which contains checks for the
        # sending xml requests to the network devices.
        self.send_xml_call(mock_logger, 'r', 'READING CONFIGURATION', True,
                           'get_configuration', msg, self.device.name,
                           **kwargs)
This checks getConfiguration method.
dataset/ETHPy150Open facebook/fbpush/tests/test_push.py/FBPushJunoscriptRpcTestCase.test_getConfiguration