sms: Fix the non-SMPP mode of the test
List needs to be executed from within the right configuration node to see if it is available or not. list on the toplevel will uncoditionally show "smpp" as part of the logging config.
This commit is contained in:
parent
658f964563
commit
9c700ee7e0
|
@ -155,12 +155,13 @@ class TestVTYNITB(TestVTYGenericBSC):
|
|||
return "smpp" in res
|
||||
|
||||
def testSmppFirst(self):
|
||||
if not self.checkForSmpp():
|
||||
return
|
||||
|
||||
# enable the configuration
|
||||
self.vty.enable()
|
||||
self.vty.command("configure terminal")
|
||||
|
||||
if not self.checkForSmpp():
|
||||
return
|
||||
|
||||
self.vty.command("smpp")
|
||||
|
||||
# check the default
|
||||
|
|
Loading…
Reference in New Issue