Пример #1
0
 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()
Пример #2
0
 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()
Пример #3
0
 def setUp(self):
     self._cleanup()
     app.config['TESTING'] = True
     self.app = app.test_client()
Пример #4
0
 def setUp(self):
     self._cleanup()
     app.config['TESTING'] = True
     self.app = app.test_client()