Beispiel #1
0
    def test_account__get_account_byId(self):

        service = AccountService()
        data = service.get_account_byId('19C715AB-AE97-4A67-B142-CDA388D9F76B')
        # ServiceTestCase.Entity.print_ValueEntityClass(data)

        self.assertIsNotNone(data, '###Error Message: No data')
Beispiel #2
0
    def test_account__update_account(self):

        service = AccountService()
        modelAcc = service.get_account_byId(
            '19C715AB-AE97-4A67-B142-CDA388D9F76B')
        modelAcc.Pw = 'ASdwpvb&*euz*^'
        data = service.update_account(modelAcc)
        # ServiceTestCase.Entity.print_ValueEntityClass(data)

        self.assertIsNotNone(data, '###Error Message: No data')
Beispiel #3
0
    def test_account__combination(self):

        service = AccountService()
        data = service.get_account_all()
        # #Print test data
        # ServiceTestCase.Entity.print_ValueListEntityClass(data)

        accountId = '19C715AB-AE97-4A67-B142-CDA388D9F76B'
        data2 = service.get_account_byId(accountId)
        # print('#'*10 + 'AccountId: ' + accountId + '#'*10)
        # ServiceTestCase.Entity.print_ValueEntityClass(data2)

        self.assertIsNotNone(data, '###Error Message: No data')
        self.assertIsNotNone(data2, '###Error Message: No data')