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
1e365477ee
commit
a2c41c42b1
|
@ -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