Skip to content

Commit a99a6ff

Browse files
committed
Update the widget test to ensure the button is there
1 parent fb1bd59 commit a99a6ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/tests/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def test_better_readonly_password_widget(self):
257257
form = UserChangeForm(instance=user)
258258

259259
self.assertIn(_('*************'), form.as_table())
260+
self.assertIn('<a class="button"', form.as_table())
260261

261262

262263
class UserAdminTest(TestCase):

0 commit comments

Comments
 (0)