Hi Anton,
1: Traceback (most recent call last):
1: File "/home/antonott/gr-howto/python/qa_square_ff.py", line 50, in test_002_square2_ff
1: sqr = howto.square2_ff()
1: NameError: name 'howto' is not defined
First you need to import square2_ff from howto similar to line 13 and then you can use square2_ff directly without howto infront.
from howto import square_ff, square2_ff
sqr = square2_ff()
1: ----------------------------------------------------------------------
1: Ran 3 tests in 0.003s
1:
1: FAILED (errors=1)
1: DEPRECATED: Using filename with gr_unittest does no longer have any effect.
1/1 Test #1: qa_square_ff .....................***Failed 0.22 sec
Usually you would add a separate qa_* class for each block you have.
Though I guess since the unit tests are executed with reflection anything is possible.
Not sure what you mean by "reflection" here.
Regards,
Vasil