Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
drevutskyj committed May 6, 2016
1 parent 3df97c7 commit f4f2d11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tinymce/tests/test_widgets.py
Expand Up @@ -49,3 +49,7 @@ def test_tinymce_widget(self):
self.assertIn('name="foobar"', html)
self.assertIn('lorem ipsum', html)
self.assertIn('class="tinymce"', html)
html = widget.render(
'foobar', 'lorem ipsum', attrs={'id': 'id_foobar', 'class': 'foo'}
)
self.assertIn('class="foo tinymce"', html)

0 comments on commit f4f2d11

Please sign in to comment.