summaryrefslogtreecommitdiff
path: root/gr-qtgui/python
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-04-09 23:16:02 -0400
committerTom Rondeau <trondeau@vt.edu>2011-04-09 23:16:02 -0400
commit42caa092c83be06df3c2f38a39285096bf8a4cfe (patch)
treedcea83f33f8e4f52bb87b9a52763a7b30cc67140 /gr-qtgui/python
parent997e8dd482eb88bcf34a0014aab7da5986548d8e (diff)
gr-qtgui: removing Guile-specific stuff since there is no way QtGui will work with Guile yet. Changed Python QA to complete properly.
Diffstat (limited to 'gr-qtgui/python')
-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 dd6529ce0d..9cafd45507 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__':