Пример #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)
Пример #2
0
 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)