Пример #1
0
    def test_verify_account_authority(self):
        lcc.set_step("Verify account authority")
        params = ["1.2.12", []]
        self.send_request(
            self.get_request(self.__verify_account_authority, params),
            self.__identifier)
        self.__resp = self.get_response()

        lcc.set_step("Check verify account authority")
        check_that(
            "'verify account authority'",
            self.__resp["result"],
            is_true(),
        )
Пример #2
0
    def test_validate_transaction(self):
        lcc.set_step("Validate transaction")
        self.send_request(
            self.get_request(self.__validate_transaction,
                             [self.get_expected(self.__get_transaction)]),
            self.__identifier)
        self.__resp = self.get_response()

        lcc.set_step("Check validate transaction")
        check_that(
            "'validate transaction'",
            self.__resp["result"],
            is_true(),
        )
Пример #3
0
    def test_verify_authority(self):
        lcc.set_step("Verify authority")
        self.send_request(
            self.get_request(self.__verify_authority,
                             [self.get_expected(self.__get_transaction)]),
            self.__identifier)
        self.__resp = self.get_response()

        lcc.set_step("Check verify authority")
        check_that(
            "'verify authority'",
            self.__resp["result"],
            is_true(),
        )
Пример #4
0
 def verify_login_success(self):
     self.login.login(email="*****@*****.**", password="******")
     check_that("My Account text is displayed",
                self.my_account.is_my_account_text_displayed(), is_true())
Пример #5
0
 def verify_login_failure(self):
     self.login.login(email="*****@*****.**", password="******")
     check_that("Failure message is displayed",
                self.login.is_failure_message_displayed(), is_true())