def test_instantiation(self): """ Test instantiation of LocalSimulator """ backend_list = _localsimulator.local_backends() for backend_name in backend_list: backend = _localsimulator.LocalSimulator(backend_name, self.job)
def test_instantiation(self): """ Test instantiation of LocalSimulator """ backend_list = _localsimulator.local_backends() for backend_name in backend_list: backend = _localsimulator.LocalSimulator(backend_name, self.job)
def test_local_backends(self): backends = _localsimulator.local_backends() self.log.info('found local backends: {0}'.format(repr(backends))) self.assertTrue(backends)
def test_local_backends(self): backends = _localsimulator.local_backends() logging.info('found local backends: {0}'.format(repr(backends))) self.assertTrue(backends)