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