Chetan Gaonker | cd974cd | 2016-03-04 14:56:58 -0800 | [diff] [blame] | 1 | import unittest |
| 2 | import os,sys |
Chetan Gaonker | cd974cd | 2016-03-04 14:56:58 -0800 | [diff] [blame] | 3 | from EapMD5 import MD5AuthTest |
| 4 | |
| 5 | class eap_auth_exchange(unittest.TestCase): |
| 6 | def test_eap_md5(self): |
| 7 | t = MD5AuthTest() |
| 8 | t.runTest() |
| 9 | def test_eap_md5_wrg_password(self): |
| 10 | t = MD5AuthTest() |
| 11 | t._wrong_password() |
| 12 | t.runTest() |
| 13 | |
| 14 | if __name__ == '__main__': |
| 15 | t = MD5AuthTest() |
| 16 | t.runTest() |
| 17 | ####### Start the EAP-MD5 Negative testcase |
| 18 | t._wrong_password() |
| 19 | t.runTest() |
| 20 | |