示例#1
0
    def setUp(self):
        # Need this for Resource Auth
        App.get_config()['SECRET_KEY'] = 'mysecrettestkey'

        self.db = DB
        # do once per test
        load_data('%s/data/fixtures.json' % TEST_DIR)
 def setUp(self):
     self.db = DB
     # do once per test
     load_data('%s/data/fixtures.json' % TEST_DIR)
示例#3
0
 def setUp(self):
     self.db = DB
     # do once per test
     load_data('%s/data/minimal.json' % TEST_DIR)
示例#4
0
 def setUp(self):
     self.db = DB
     # do once per test
     load_data('%s/data/minimal.json' % TEST_DIR)