summaryrefslogtreecommitdiff
path: root/gr-pager/python/pager/qa_pager.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-03-08 20:40:42 -0700
committerBen Reynwar <ben@reynwar.net>2013-03-08 20:40:42 -0700
commitb840ea9a09f1048cac2d7d0ea8fe199294c6242e (patch)
treef5a74a4b874cc5b72936b1b54130a92482992c3e /gr-pager/python/pager/qa_pager.py
parent5455eb54fea3aadc3ebb7569b5ed8b46837bd47e (diff)
pager: Enabling uninstalled python imports.
Diffstat (limited to 'gr-pager/python/pager/qa_pager.py')
-rwxr-xr-xgr-pager/python/pager/qa_pager.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/gr-pager/python/pager/qa_pager.py b/gr-pager/python/pager/qa_pager.py
new file mode 100755
index 0000000000..e07291966f
--- /dev/null
+++ b/gr-pager/python/pager/qa_pager.py
@@ -0,0 +1,35 @@
+#!/usr/bin/env python
+#
+# Copyright 2004,2006,2010 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+#
+
+from gnuradio import gr, gr_unittest
+import pager_swig as pager
+
+class test_pager(gr_unittest.TestCase):
+
+ def setUp (self):
+ self.tb = gr.top_block ()
+
+ def tearDown (self):
+ self.tb = None
+
+if __name__ == '__main__':
+ gr_unittest.run(test_pager, "test_pager.xml")