Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

working outside of application context

# when app is initialized using app_factory

@classmethod
def setUpClass(self):
    self.app = create_app("testing")
    self.client = self.app.test_client()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #working #application #context
ADD COMMENT
Topic
Name
5+7 =