def setUp(self): self._cleanup() os.makedirs(WHISPER_DIR) app.config['TESTING'] = True whisper_conf = {'whisper': {'directories': [WHISPER_DIR]}} app.config['GRAPHITE']['store'] = Store([WhisperFinder(whisper_conf)]) self.app = app.test_client()
def setUp(self): self._cleanup() app.config['TESTING'] = True self.app = app.test_client()