bsc: Add a VTY command to show the paging group for a BSC/IMSI
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 45b0c06..08c94b1 100644
--- a/openbsc/tests/vty_test_runner.py
+++ b/openbsc/tests/vty_test_runner.py
@@ -224,6 +224,12 @@
         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):