예제 #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())