diff --git a/tests/test_dependencies_executor.py b/tests/test_dependencies_executor.py index cfcf0733..d3ddeb9a 100644 --- a/tests/test_dependencies_executor.py +++ b/tests/test_dependencies_executor.py @@ -73,6 +73,10 @@ def test_executor_dependency_plot(self): self.assertEqual(len(nodes), 5) self.assertEqual(len(edges), 4) + def test_create_executor_error(self): + with self.assertRaises(ValueError): + create_executor(backend="toast", resource_dict={"cores": 1}) + def test_dependency_steps(self): cloudpickle_register(ind=1) fs1 = Future() diff --git a/tests/test_shared_input_check.py b/tests/test_shared_input_check.py index b1b18b60..7ba84f71 100644 --- a/tests/test_shared_input_check.py +++ b/tests/test_shared_input_check.py @@ -66,7 +66,7 @@ def test_check_pmi(self): with self.assertRaises(ValueError): check_pmi(backend="test", pmi="test") with self.assertRaises(ValueError): - check_pmi(backend="flux", pmi="test") + check_pmi(backend="flux_allocation", pmi="test") def test_check_nested_flux_executor(self): with self.assertRaises(ValueError):