Projet

Général

Profil

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

Valentin Deniaud, 25 mai 2022 14:30

Télécharger (868 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
369 369

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

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