blob: f4e9e8e0c24d1291ad4e17c6851128bdb29215bb [file] [log] [blame]
Chetan Gaonkercd974cd2016-03-04 14:56:58 -08001import unittest
2import os,sys
3CORD_TEST_UTILS = 'utils'
4test_root = os.getenv('CORD_TEST_ROOT') or './'
5sys.path.append(test_root + CORD_TEST_UTILS)
6from EapMD5 import MD5AuthTest
7
8class eap_auth_exchange(unittest.TestCase):
9 def test_eap_md5(self):
10 t = MD5AuthTest()
11 t.runTest()
12 def test_eap_md5_wrg_password(self):
13 t = MD5AuthTest()
14 t._wrong_password()
15 t.runTest()
16
17if __name__ == '__main__':
18 t = MD5AuthTest()
19 t.runTest()
20 ####### Start the EAP-MD5 Negative testcase
21 t._wrong_password()
22 t.runTest()
23