Beispiel #1
0
 def get(self):
     return make_response(
         render_template(
             'admin.html',
             instance_prefix='instance',
             debug_info=getDebugInfo()
         )
     )
Beispiel #2
0
 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)
 def testGetDebugInfo(self):
     # checking if data from file is correct
     prepareDebugFile()
     self.assertEqual(getDebugInfo(), TEST_FILE_DATA)
     os.remove(RIGHT_FILE_NAME)