diff --git a/test/terra/backends/aer_simulator/test_auto_method.py b/test/terra/backends/aer_simulator/test_auto_method.py index ff574f35e3..30b386da70 100644 --- a/test/terra/backends/aer_simulator/test_auto_method.py +++ b/test/terra/backends/aer_simulator/test_auto_method.py @@ -230,5 +230,7 @@ def test_auto_method_partial_result_a_single_invalid_circuit(self): circuits.append(qc) backend = self.backend() shots = 100 - result = backend.run(circuits, shots=shots).result() result = backend.run(circuits, shots=shots, method='statevector').result() + self.assertEqual(result.status, 'PARTIAL COMPLETED') + self.assertTrue(hasattr(result.results[1].data, 'counts')) + self.assertFalse(hasattr(result.results[0].data, 'counts'))