class CustomerServiceTest(unittest.TestCase):
    ##初始化工作
    def setUp(self):
        # self.tclass = customer_service.CustomerService()   ##实例化了被测试模块中的类
        self.tclass = SupProjectService()
    #退出清理工作
    def tearDown(self):
        pass

    # class SupProjectApplyBO(BizModel):
    # id = Attribute(None)
    # project_id = Attribute('')
    # name = Attribute('')
    # email = Attribute('')
    # phone = Attribute('')
    # company = Attribute('')
    # province = Attribute('')
    # city = Attribute('')
    # area = Attribute('')
    # created_at = Attribute('')
    # updated_at = Attribute('')
    # is_deleted = Attribute(False)

    def test_add_apply(self):
        spa = SupProjectApplyBO()
        spa.project_id = 1
        spa.name = "测试"
        spa.email = "*****@*****.**"
        spa.phone = "18298987636"
        self.tclass.add_apply(spa)
 def setUp(self):
     # self.tclass = customer_service.CustomerService()   ##实例化了被测试模块中的类
     self.tclass = SupProjectService()