from common.baseUnit import StartEnd
from businessView.modifyEdu import ModifyEdu
import unittest
import logging

class TestModifyEdu(StartEnd):

    schoolName = '湖畔大学'

    def test_modify_edu(self):
        logging.info('test modify edu')
        m = ModifyEdu(self.driver)
        m.modify_education(schoolName=self.schoolName)
        self.assertTrue(m.check_modify_edu(schoolName=self.schoolName))

if __name__ == '__main__':
    unittest.main()