From df4b3b23869f4c80a33976041ce87503e45b5960 Mon Sep 17 00:00:00 2001 From: Enrico Scala Date: Wed, 16 Oct 2024 09:44:49 +0200 Subject: [PATCH] Black passed... --- unified_planning/test/test_pddl_io.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/unified_planning/test/test_pddl_io.py b/unified_planning/test/test_pddl_io.py index 48bdcff6c..6fced1ea0 100644 --- a/unified_planning/test/test_pddl_io.py +++ b/unified_planning/test/test_pddl_io.py @@ -425,6 +425,7 @@ def test_sailing_reader(self): problem_2 = reader.parse_problem_string(domain_str, problem_str) self.assertEqual(problem, problem_2) + def test_non_linear_car(self): reader = PDDLReader() @@ -434,9 +435,13 @@ def test_non_linear_car(self): self.assertTrue(problem is not None) self.assertEqual(len(problem.fluents), 8) - self.assertEqual(len(list([ele for ele in problem.actions if isinstance(ele,Process)])), 3) - self.assertEqual(len(list([ele for ele in problem.actions if isinstance(ele,Event)])),1) - + self.assertEqual( + len(list([ele for ele in problem.actions if isinstance(ele, Process)])), 3 + ) + self.assertEqual( + len(list([ele for ele in problem.actions if isinstance(ele, Event)])), 1 + ) + def test_matchcellar_reader(self): reader = PDDLReader()