def setUp(self):
        """Create the client for this test

        """
        self.client = APP.test_client()
예제 #2
0
from api.app import APP

if __name__ == "__main__":
    APP.config.from_object(__name__)
    APP.debug = True
    APP.run()
예제 #3
0
    def setUp(self):
        """
        Set up test

        """
        self.client = APP.test_client()
예제 #4
0
 def setUp(self):
     self.client = APP.test_client(self)
예제 #5
0
    def setUp(self):
        """Create the client object

        """
        self.client = APP.test_client()