summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/vty_test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/tests/vty_test_runner.py')
-rw-r--r--openbsc/tests/vty_test_runner.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 1aedcf21c..72471d876 100644
--- a/openbsc/tests/vty_test_runner.py
+++ b/openbsc/tests/vty_test_runner.py
@@ -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