aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/vty_test_runner.py
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-02-05 09:39:09 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-22 16:00:00 +0100
commitec37bb29563c92bf405b732019db4ed3b2cc9477 (patch)
tree112802c922245fa98f8a4d6d42555825a34b473d /openbsc/tests/vty_test_runner.py
parentd9e403951631a44508928f60372ced5ae541c377 (diff)
bsc: Add a VTY command to show the paging group for a BSC/IMSI
Diffstat (limited to 'openbsc/tests/vty_test_runner.py')
-rw-r--r--openbsc/tests/vty_test_runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 45b0c063d..08c94b1b5 100644
--- a/openbsc/tests/vty_test_runner.py
+++ b/openbsc/tests/vty_test_runner.py
@@ -224,6 +224,12 @@ class TestVTYNITB(TestVTYGenericBSC):
res = self.vty.command('show subscriber imsi '+imsi)
self.assert_(res.find(" IMSI: "+imsi) > 0)
+ def testShowPagingGroup(self):
+ res = self.vty.command("show paging-group 255 1234567")
+ self.assertEqual(res, "% can't find BTS 255")
+ res = self.vty.command("show paging-group 0 1234567")
+ self.assertEquals(res, "%Paging group for IMSI 1234567 on BTS #0 is 7")
+
class TestVTYBSC(TestVTYGenericBSC):
def vty_command(self):