def test_setup_environment(self): #If the function doesn't throw an exception we are happy. app.setup_environment()
def test_setup_environment(): # If the function doesn't throw an exception we are happy. assert hasattr(app, 'setup_environment') app.setup_environment()
def test_setup_environment(self): # If the function doesn't throw an exception we are happy. self.assertTrue(hasattr(app, 'setup_environment')) app.setup_environment()