summaryrefslogtreecommitdiff
path: root/cesar/test_general/station
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-11-29 14:49:56 +0100
committerNélio Laranjeiro2011-11-29 14:50:09 +0100
commit9cf72ec713ffdcf36bd921c88e19ae3d17bcd5c6 (patch)
treeb55cb8fddc37a74020b09686dd8c4d683bb405cf /cesar/test_general/station
parentadbec830b805629ac406b181440a556867df531e (diff)
cesar/test_general/station/scenario: fix the python scenario test
The sniffer was only activated for TX MMEs.
Diffstat (limited to 'cesar/test_general/station')
-rw-r--r--cesar/test_general/station/scenario/py/sc05_cc_leave.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cesar/test_general/station/scenario/py/sc05_cc_leave.py b/cesar/test_general/station/scenario/py/sc05_cc_leave.py
index 7ee8d2e035..f47d2bcfa3 100644
--- a/cesar/test_general/station/scenario/py/sc05_cc_leave.py
+++ b/cesar/test_general/station/scenario/py/sc05_cc_leave.py
@@ -49,7 +49,8 @@ class TestLeave (unittest.TestCase):
# We will need to activate the sniffer here to get the
# CC_LEAVE MME exchange between the CCo and the authenticated
# STA.
- state = sniffer (self.csi.get_maximus (), sta, mme_tx = True)
+ state = sniffer (self.csi.get_maximus (), sta, mme_tx = True,
+ mme_rx = True)
self.failUnless (state)
drv_sta_mac_stop_req.dst = sta.get_mac_addr ()
send_mme (self.csi.get_maximus (), sta, drv_sta_mac_stop_req)