def test_job_widget(self): """Test jobs tab.""" backend = self.provider.get_backend('ibmq_qasm_simulator') job = backend.run(transpile(ReferenceCircuits.bell(), backend)) create_job_widget(mock.MagicMock(), job, backend=backend.name(), status=job.status().value)
def test_job_widget(self): """Test jobs tab.""" backend = self.provider.get_backend('ibmq_qasm_simulator') qobj = bell_in_qobj(backend=backend) job = backend.run(qobj) create_job_widget(mock.MagicMock(), job, backend=backend.name(), status=job.status().value)