def execute_notebook(self, name):
        """Loads and then runs a notebook file."""

        warnings.filterwarnings("ignore", category=DeprecationWarning)
        nb,f = self.load_notebook(name)
        self.run_notebook(nb,f)
        self.assertTrue(True)
def execute_notebook ( self , name ) : warnings . filterwarnings ( "ignore" , category = DeprecationWarning ) nb , f = self . load_notebook ( name ) self . run_notebook ( nb , f ) self . assertTrue ( True )
Loads and then runs a notebook file.