コード例 #1
0
ファイル: forms.py プロジェクト: timothyclemans/djangocg
 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
ファイル: forms.py プロジェクト: timothyclemans/djangocg
 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()