mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-03 12:48:35 -05:00
tests: Fix pyrad exception name in RADIUS test cases
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f1863f2b82
commit
0307eebdb9
@ -924,7 +924,7 @@ def test_radius_protocol(dev, apdev):
|
|||||||
try:
|
try:
|
||||||
fdo = self._fdmap[fd]
|
fdo = self._fdmap[fd]
|
||||||
self._ProcessInput(fdo)
|
self._ProcessInput(fdo)
|
||||||
except ServerPacketError as err:
|
except pyrad.server.ServerPacketError as err:
|
||||||
logger.info("pyrad server dropping packet: " + str(err))
|
logger.info("pyrad server dropping packet: " + str(err))
|
||||||
except pyrad.packet.PacketError as err:
|
except pyrad.packet.PacketError as err:
|
||||||
logger.info("pyrad server received invalid packet: " + str(err))
|
logger.info("pyrad server received invalid packet: " + str(err))
|
||||||
@ -1029,7 +1029,7 @@ def test_radius_psk(dev, apdev):
|
|||||||
try:
|
try:
|
||||||
fdo = self._fdmap[fd]
|
fdo = self._fdmap[fd]
|
||||||
self._ProcessInput(fdo)
|
self._ProcessInput(fdo)
|
||||||
except ServerPacketError as err:
|
except pyrad.server.ServerPacketError as err:
|
||||||
logger.info("pyrad server dropping packet: " + str(err))
|
logger.info("pyrad server dropping packet: " + str(err))
|
||||||
except pyrad.packet.PacketError as err:
|
except pyrad.packet.PacketError as err:
|
||||||
logger.info("pyrad server received invalid packet: " + str(err))
|
logger.info("pyrad server received invalid packet: " + str(err))
|
||||||
@ -1177,7 +1177,7 @@ def test_ap_vlan_wpa2_psk_radius_required(dev, apdev):
|
|||||||
try:
|
try:
|
||||||
fdo = self._fdmap[fd]
|
fdo = self._fdmap[fd]
|
||||||
self._ProcessInput(fdo)
|
self._ProcessInput(fdo)
|
||||||
except ServerPacketError as err:
|
except pyrad.server.ServerPacketError as err:
|
||||||
logger.info("pyrad server dropping packet: " + str(err))
|
logger.info("pyrad server dropping packet: " + str(err))
|
||||||
except pyrad.packet.PacketError as err:
|
except pyrad.packet.PacketError as err:
|
||||||
logger.info("pyrad server received invalid packet: " + str(err))
|
logger.info("pyrad server received invalid packet: " + str(err))
|
||||||
|
Loading…
Reference in New Issue
Block a user