summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/test_validation.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 17:15:17 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 17:25:23 +0200
commitfc32261c208546ed7af52aaba04354553080cccb (patch)
tree281a8a4a101ef65d0e745f1596e0e6383ebeb988 /rtemsspec/tests/test_validation.py
parentcontent: Split long @defgroup lines (diff)
downloadrtems-central-fc32261c208546ed7af52aaba04354553080cccb.tar.bz2
validation: Use call_function()
Diffstat (limited to 'rtemsspec/tests/test_validation.py')
-rw-r--r--rtemsspec/tests/test_validation.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/rtemsspec/tests/test_validation.py b/rtemsspec/tests/test_validation.py
index 9aaafffb..da735274 100644
--- a/rtemsspec/tests/test_validation.py
+++ b/rtemsspec/tests/test_validation.py
@@ -806,10 +806,7 @@ T_TEST_CASE_FIXTURE( Directive, &Directive_Fixture )
ctx,
Directive_TransitionMap[ index ][ 0 ]
);
- Directive_Post_Id_Check(
- ctx,
- Directive_TransitionMap[ index ][ 1 ]
- );
+ Directive_Post_Id_Check( ctx, Directive_TransitionMap[ index ][ 1 ] );
++index;
}
}
@@ -1726,14 +1723,8 @@ void Action2_Run( int *a, int b, int *c )
Action2_Pre_A_Prepare( ctx, ctx->pcs[ 0 ] );
Action2_Pre_B_Prepare( ctx, ctx->pcs[ 1 ] );
Action2_Action( ctx );
- Action2_Post_A_Check(
- ctx,
- Action2_TransitionMap[ index ][ 0 ]
- );
- Action2_Post_B_Check(
- ctx,
- Action2_TransitionMap[ index ][ 1 ]
- );
+ Action2_Post_A_Check( ctx, Action2_TransitionMap[ index ][ 0 ] );
+ Action2_Post_B_Check( ctx, Action2_TransitionMap[ index ][ 1 ] );
Action2_Cleanup( ctx );
++index;
}