From 5610dfa661532857bc2728b2ac4c4035fcb3842b Mon Sep 17 00:00:00 2001 From: Will Shanks Date: Fri, 29 Mar 2024 11:36:04 -0400 Subject: [PATCH] Use assertExperimentDone --- test/database_service/test_db_experiment_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/database_service/test_db_experiment_data.py b/test/database_service/test_db_experiment_data.py index d9347a6377..0382d2b72a 100644 --- a/test/database_service/test_db_experiment_data.py +++ b/test/database_service/test_db_experiment_data.py @@ -1067,7 +1067,7 @@ def test_copy_metadata(self): def test_copy_figure_artifacts(self): """Test copy expdata figures and artifacts.""" exp_data = FakeExperiment(experiment_type="qiskit_test").run(backend=FakeBackend()) - exp_data.block_for_results() + self.assertExperimentDone(exp_data) exp_data.add_figures(str.encode("hello world")) exp_data.add_artifacts(ArtifactData(name="test", data="foo")) copied = exp_data.copy(copy_results=True)