diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py b/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py index 1907656592..893b02cb07 100644 --- a/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py +++ b/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py @@ -13,12 +13,13 @@ import time import pmt from gnuradio import gr, gr_unittest, blocks + class test_flowgraph (gr_unittest.TestCase): - def setUp (self): - self.tb = gr.top_block () + def setUp(self): + self.tb = gr.top_block() - def tearDown (self): + def tearDown(self): self.tb = None def test_000(self): @@ -42,6 +43,6 @@ class test_flowgraph (gr_unittest.TestCase): data = pmt.u8vector_elements(pmt.cdr(dbg.get_message(0))) self.assertEqual([1, 2, 3], data) + if __name__ == '__main__': gr_unittest.run(test_flowgraph) - |