def setUpClass(cls):
     """
     Set up the test client
     :return:
     """
     cls.client = app.test_client(use_cookies=True)
     cls.headers = {'content-type': 'application/json'}
     metadata.create_all(bind=test_engine)
 def setUpClass(cls):
     """
     Set up the test client
     :return:
     """
     cls.client = app.test_client(use_cookies=True)
     cls.headers = {'content-type': 'application/json'}
     metadata.create_all(bind=test_engine)
    def setUp(self):
        self.client = app.test_client()
        self.project_name = 'Test Project'
        self.project_description = 'Test Description'
        self.date_created = datetime.utcnow()
        self.project = Project(self.project_name, self.project_description,
                               self.date_created)

        self.project_id = 1
        self.template_url = '/api/v1/projects/%s'
        self.headers = {'Content-Type': 'application/json'}
    def setUpClass(cls):
        cls.client = app.test_client()
        cls.headers = {'content-type': 'application/json'}

        cls.owner_name = 'Bilbo Baggins'
        cls.owner_password = '******'
        cls.owner_email = 'bilbo@bag_end.com'
        cls.owner = User(cls.owner_name, cls.owner_password, cls.owner_email)

        cls.project_name = 'Test Project'
        cls.project_description = 'Project Description with some **Markdown**'
        cls.project = Project(cls.project_name, cls.project_description)