Пример #1
0
 def test_bug_17944_unknown_password_algorithm(self):
     user = User.objects.get(username='******')
     form = UserChangeForm(instance=user)
     # Just check that no error is raised.
     form.as_table()
Пример #2
0
 def test_bug_17944_empty_password(self):
     user = User.objects.get(username='******')
     form = UserChangeForm(instance=user)
     # Just check that no error is raised.
     form.as_table()