Projet

Général

Profil

0001-tests-fix-login-password-authenticator-test-65707.patch

Valentin Deniaud, 18 juillet 2022 11:05

Télécharger (866 octets)

Voir les différences:

Subject: [PATCH 1/2] tests: fix login password authenticator test (#65707)

 tests/test_login.py | 1 -
 1 file changed, 1 deletion(-)
tests/test_login.py
371 371

  
372 372
    old_apps = migration.before(migrate_from)
373 373
    LoginPasswordAuthenticator = old_apps.get_model(app, 'LoginPasswordAuthenticator')
374
    assert not LoginPasswordAuthenticator.objects.exists()
375 374

  
376 375
    settings.AUTH_FRONTENDS_KWARGS = {
377 376
        "password": {"priority": -1, "show_condition": "'backoffice' not in login_hint"}
378
-