Exemple #1
0
 def test_js_functions(self):
     self.assertIn("css/question-tips.css", editor_css())
 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())
Exemple #3
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question-tips.css", editor_css())
Exemple #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'])
Exemple #5
0
 def test_js_functions(self):
     self.assertIn("css/question-tips.css", editor_css())
Exemple #6
0
 def test_js_functions(self):
     self.assertIn("registerHalloPlugin('editHtmlButton')", editor_js())
     self.assertIn("css/question-tips.css", editor_css())