testbuilder/core/base/basetest.py
def ready(self) -> bool:
        """Checks the tests is ready to start execution

        * Checks if test is set to run
        * Checks steps are loaded
        * Checks middlewares are not empty
        * Checks interfaces are not empty
        
        Returns:
            Boolean -- Is the test ready
        """

        ## Check test is set to run
        if not self.run_test:
            return False

        ## Check step
        if self.first_step is None:
            return False

        ## Check middleware
        if self.middlewares:
            for middleware in self.middlewares: # check each middleware is ready
                if middleware.ready():
                    continue
                else: return False # an interface is not ready
        else: # no middlewares loaded
            return False

        ## Check interfaces
        if self.interfaces:
            for interface in self.interfaces:
                if self.interfaces[interface].ready(): # check each interface is ready
                    continue
                else:
                    return False # an interface is not ready
        else: # no middlewares loaded
            return False

        # All checks passed
        return True
Checks the tests is ready to start execution

        * Checks if test is set to run
        * Checks steps are loaded
        * Checks middlewares are not empty
        * Checks interfaces are not empty
        
        Returns:
            Boolean -- Is the test ready
        
Checks the tests is ready to start execution
Checks if test is set to run
Checks steps are loaded
Checks middlewares are not empty
Checks interfaces are not empty
Checks the tests is ready to start execution Checks if test is set to run Checks steps are loaded Checks middlewares are not empty Checks interfaces are not empty
def ready(self) -> bool:
        if not self.run_test:
            return False
        if self.first_step is None:
            return False
        if self.middlewares:
            for middleware in self.middlewares: 
                if middleware.ready():
                    continue
                else: return False 
        else: 
            return False
        if self.interfaces:
            for interface in self.interfaces:
                if self.interfaces[interface].ready(): 
                    continue
                else:
                    return False 
        else: 
            return False
        return True
def ready ( self ) -> bool : if not self . run_test : return False if self . first_step is None : return False if self . middlewares : for middleware in self . middlewares : if middleware . ready ( ) : continue else : return False else : return False if self . interfaces : for interface in self . interfaces : if self . interfaces [ interface ] . ready ( ) : continue else : return False else : return False return True
Checks the tests is ready to start execution
 Checks if test is set to run
 Checks steps are loaded
 Checks middlewares are not empty
 Checks interfaces are not empty
Checks the tests is ready to start execution Checks if test is set to run Checks steps are loaded Checks middlewares are not empty Checks interfaces are not empty
"""Checks the tests is ready to start execution

        * Checks if test is set to run
        * Checks steps are loaded
        * Checks middlewares are not empty
        * Checks interfaces are not empty
        
        Returns:
            Boolean -- Is the test ready
        """ ## Check test is set to run ## Check step ## Check middleware # check each middleware is ready # an interface is not ready # no middlewares loaded ## Check interfaces # check each interface is ready # an interface is not ready # no middlewares loaded # All checks passed
- Is the test ready
- Is the test ready
self