diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-23 16:22:55 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-23 16:22:55 +0100 |
commit | d883db027bb75cb4299a733d005de6ff6a1f426c (patch) | |
tree | 25baa81427fc50e965279f3d38f70f0332b632a9 /openbsc/tests/ctrl_test_runner.py | |
parent | 2d99eeb7f2c7978e9d96f5df61e462e6feb05973 (diff) |
nitb/ctrl: Implement a command to list all active subscribers
This is only useful for small networks. List the IMSI and MSISDN
of all active subscribers.
Fixes: SYS#266
Diffstat (limited to 'openbsc/tests/ctrl_test_runner.py')
-rw-r--r-- | openbsc/tests/ctrl_test_runner.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/tests/ctrl_test_runner.py b/openbsc/tests/ctrl_test_runner.py index 56e95144a..60d90a7c1 100644 --- a/openbsc/tests/ctrl_test_runner.py +++ b/openbsc/tests/ctrl_test_runner.py @@ -341,6 +341,13 @@ class TestCtrlNITB(TestCtrlBase): self.assertEquals(r['mtype'], 'ERROR') self.assertEquals(r['error'], 'Failed to find subscriber') + def testSubscriberList(self): + # TODO. Add command to mark a subscriber as active + r = self.do_get('subscriber-list-active-v1') + self.assertEquals(r['mtype'], 'GET_REPLY') + self.assertEquals(r['var'], 'subscriber-list-active-v1') + self.assertEquals(r['value'], None) + class TestCtrlNAT(TestCtrlBase): def ctrl_command(self): |