From b83acee750b3264cce9b3d5ad9c0b0dd0cbd9ce3 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Fri, 3 Jul 2020 13:23:46 +0200 Subject: [PATCH] Refactor generic_test execution --- gram/test/test_core_refresher.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gram/test/test_core_refresher.py b/gram/test/test_core_refresher.py index 4f0dc58..f3347a9 100644 --- a/gram/test/test_core_refresher.py +++ b/gram/test/test_core_refresher.py @@ -53,9 +53,7 @@ class RefreshPostponerTestCase(FHDLTestCase): runSimulation(m, process, "test_refreshpostponer.vcd") - generic_test(1) - generic_test(5) - generic_test(10) + [generic_test(_) for _ in [1, 5, 10]] def test_req_not_stuck(self): def generic_test(delay): @@ -77,6 +75,4 @@ class RefreshPostponerTestCase(FHDLTestCase): runSimulation(m, process, "test_refreshpostponer.vcd") - generic_test(1) - generic_test(5) - generic_test(10) + [generic_test(_) for _ in [1, 5, 10]] -- 2.30.2