def test_em_search(self, url, action, data, code, expect):
		em_search_url = f'{url}'
		em_search_resp = EmploymentManagement().do_em_search(em_search_url, data)
		em_search_code = em_search_resp.json()
		if em_search_code:
			actual = 'EM-succeed'
		else:
			actual = 'EM-failed'

		# 断言
		self.assertEqual(actual, expect)
	def test_em_technology(self, url, action, data, code, expect):
		ispass = request.quote(data.get('ispass'))
		student_id = data.get('sr.skillrecord_student_id')
		questions = request.quote(data.get('sr.questions'))
		valuate = request.quote(data.get('sr.valuate'))
		ndata ={'ispass': ispass, 'student_id': student_id,'questions':questions, 'valuate':valuate}
		textmod = parse.urlencode(ndata)
		em_technology_url = f'{url}?{textmod}'
		em_technology_resp = EmploymentManagement().do_em_technology(em_technology_url)
		em_technology_code = em_technology_resp.json()
		if em_technology_code:
			actual = 'EM-succeed'
		else:
			actual = 'EM-failed'

		# 断言
		self.assertEqual(actual, expect)