示例#1
0
 def test_js_functions(self):
     self.assertIn("css/question-tips.css", editor_css())
示例#2
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question-tips.css", editor_css())
     self.assertIn('aside', whitelister_element_rules().keys())
     self.assertIn('table', whitelister_element_rules().keys())
示例#3
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question-tips.css", editor_css())
示例#4
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question_tips.css", editor_css())
     self.assertEqual(whitelister_element_rules().keys(), ['aside'])
示例#5
0
 def test_js_functions(self):
     self.assertIn("css/question-tips.css", editor_css())
示例#6
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question-tips.css", editor_css())