def get(self): return make_response( render_template( 'admin.html', instance_prefix='instance', debug_info=getDebugInfo() ) )
def get(self): return make_response( render_template('admin.html', instance_prefix='instance', debug_info=getDebugInfo()))
def testGetDebugInfo(self): # checking if data from file is correct prepareDebugFile() self.assertEqual(getDebugInfo(), TEST_FILE_DATA) os.remove(RIGHT_FILE_NAME)