Пример #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())