summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qa_qtgui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/python/qa_qtgui.py')
-rwxr-xr-xgr-qtgui/python/qa_qtgui.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/gr-qtgui/python/qa_qtgui.py b/gr-qtgui/python/qa_qtgui.py
index dd6529ce0..9cafd4550 100755
--- a/gr-qtgui/python/qa_qtgui.py
+++ b/gr-qtgui/python/qa_qtgui.py
@@ -22,8 +22,6 @@
from gnuradio import gr, gr_unittest
import qtgui_swig
-from PyQt4 import QtGui, QtCore
-import sys, sip
class test_qtgui(gr_unittest.TestCase):
@@ -34,12 +32,16 @@ class test_qtgui(gr_unittest.TestCase):
self.tb = None
def test01 (self):
- #pass
- # Test to make sure we can instantiate these
- self.qapp = QtGui.QApplication(sys.argv)
+ # Test to make sure we can instantiate the sink
self.qtsnk = qtgui_swig.sink_c(1024, gr.firdes.WIN_BLACKMAN_hARRIS,
0, 1, "Test",
True, True, True, True)
+
+ def test02 (self):
+ # Test to make sure we can instantiate the sink
+ self.qtsnk = qtgui_swig.sink_f(1024, gr.firdes.WIN_BLACKMAN_hARRIS,
+ 0, 1, "Test",
+ True, True, True, True)
if __name__ == '__main__':