コード例 #1
0
    def tear_down(self):
        """
        End and dispose the test
        """
        # Stop properly FTP client on DUT side
        try:
            self._ftp_api.stop_ftp(self._ftp_task_id)
        except:
            pass

        # Call LAB_HSPA_BASE tear_down function
        LabHspaBase.tear_down(self)

        return Global.SUCCESS, "No errors"
コード例 #2
0
    def tear_down(self):
        """
        End and dispose the test
        """
        # Stop properly FTP client on DUT side
        try:
            self._ftp_api.stop_ftp(self._ftp_task_id)
        except:
            pass

        # Deactivate CPC feature
        self._logger.info("CPC deactivation on the equipment by setting CPC to Off")
        self._ns_data_3g.set_cpc_state("OFF")

        # Call LAB_HSPA_BASE tear_down function
        LabHspaBase.tear_down(self)

        return Global.SUCCESS, "No errors"