Skip to content

Commit fd907d8

Browse files
author
Vasileios Karakasis
committed
Add unit test
1 parent 352bf6e commit fd907d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unittests/test_pipeline.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,10 @@ class MyTest(DerivedTest):
617617
_run(test, *local_exec_ctx)
618618
assert test.var == 2
619619
assert test.foo == 1
620+
assert test.pipeline_hooks() == {
621+
'post_setup': [DerivedTest.z, BaseTest.x],
622+
'pre_run': [C.y],
623+
}
620624

621625

622626
def test_overriden_hooks(local_exec_ctx):

0 commit comments

Comments
 (0)