'Mock function for `autotest.client.utils.get_cpu_info` function'

def _mock_cpu_info(self, data):

    lines = StringIO(data).readlines()
    self.god.stub_with(base_utils, 'get_cpu_info', (lambda : lines))
