def setUp(self): server.app.config['TESTING'] = True seed.clean_db() seed_files = { 'users': "seed/seed_test_users.txt", 'pictures': "seed/seed_test_pictures.txt", 'galleries': "seed/seed_test_galleries.txt", 'memberships': "seed/seed_test_memberships.txt", 'walls': "seed/seed_test_walls.txt", 'placements': "seed/seed_test_placements.txt", } seed.seed_all(seed_files)
def setUp(self): server.app.config['TESTING'] = True seed.clean_db() User(user_id=4, username='******', email='b@r', password='******')