Skip to content

Commit

Permalink
Tests updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Apr 15, 2017
1 parent 588669a commit 1f701b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ def test_set_form_widgets_attrs(self):
set_form_widgets_attrs(f, d)
output = f.as_p()

self.assertIn('class="clickable" data-a="CharField" id="id_field1"', output)
self.assertIn('class="clickable" data-a="CharField" id="id_field2"', output)
self.assertTrue(output.count('data-a') == 2)
self.assertTrue(output.count('clickable') == 2)


class GravatarTemplateTagsTest(EtcTestCase):
Expand Down

0 comments on commit 1f701b8

Please sign in to comment.