testbuilder/core/base/basetest.py
def load_tear_down_steps(self, first_step) -> None:
        """Loads the first step for the teardown
        
        Arguments:
            first_step {TBBaseStep} -- The first step of the teardown
        
        Returns:
            TypeError -- Raised if `first_step` is not of type TBBaseStep
            StepException -- Raised if the step is't the first Step
        """

        if not isinstance(first_step, TBBaseStep):
            raise TypeError("Excpected 'first_step' to by of type TBBaseStep")
        if not first_step.is_first_step():
            raise StepException("This is not the first step of the test")

        self.tear_down_first_step = first_step
Loads the first step for the teardown
        
        Arguments:
            first_step {TBBaseStep} -- The first step of the teardown
        
        Returns:
            TypeError -- Raised if `first_step` is not of type TBBaseStep
            StepException -- Raised if the step is't the first Step
        
Loads the first step for the teardown
Arguments:
first_step {TBBaseStep} -- The first step of the teardown

- Raised if `first_step` is not of type TBBaseStep
StepException -- Raised if the step is't the first Step
Loads the first step for the teardown Arguments : first_step { TBBaseStep } -- The first step of the teardown - Raised if ` first_step ` is not of type TBBaseStep StepException -- Raised if the step is ' t the first Step
def load_tear_down_steps(self, first_step) -> None:
        if not isinstance(first_step, TBBaseStep):
            raise TypeError("Excpected 'first_step' to by of type TBBaseStep")
        if not first_step.is_first_step():
            raise StepException("This is not the first step of the test")
        self.tear_down_first_step = first_step
def load_tear_down_steps ( self , first_step ) -> None : if not isinstance ( first_step , TBBaseStep ) : raise TypeError ( "Excpected 'first_step' to by of type TBBaseStep" ) if not first_step . is_first_step ( ) : raise StepException ( "This is not the first step of the test" ) self . tear_down_first_step = first_step
Loads the first step for the teardown
Arguments:
first_step {TBBaseStep} -- The first step of the teardown
Loads the first step for the teardown Arguments : first_step { TBBaseStep } -- The first step of the teardown
"""Loads the first step for the teardown
        
        Arguments:
            first_step {TBBaseStep} -- The first step of the teardown
        
        Returns:
            TypeError -- Raised if `first_step` is not of type TBBaseStep
            StepException -- Raised if the step is't the first Step
        """
self
first_step