aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/vty_test_runner.py
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-04 15:38:00 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-06 11:04:56 +0100
commit4ecc6877a2a2fd3244979ec4a8d13a2862f5e6a4 (patch)
treec7c5c45419708a154a589401ea939d34ee07caa4 /openbsc/tests/vty_test_runner.py
parent472f3bd1983431ace2353c96a23bb69860938104 (diff)
nat: Add CTRL command test case for the new control commands
Diffstat (limited to 'openbsc/tests/vty_test_runner.py')
-rw-r--r--openbsc/tests/vty_test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 092f5ae6f..7c8fe8c30 100644
--- a/openbsc/tests/vty_test_runner.py
+++ b/openbsc/tests/vty_test_runner.py
@@ -525,7 +525,7 @@ class TestVTYNAT(TestVTYGenericBSC):
res = self.vty.command("show running-config").split("\r\n")
asserted = False
for line in res:
- if line.startswith(" access-list"):
+ if line.startswith(" access-list test-default"):
self.assertEqual(line, " access-list test-default imsi-deny ^123[0-9]*$ 11 11")
asserted = True
self.assert_(asserted)