tests: adjust not to find link by label (#29228)
This commit is contained in:
parent
7861f4a4f3
commit
5a20b28487
|
@ -341,7 +341,7 @@ def test_registration1(app, fc_settings, caplog, hooks):
|
|||
assert User.objects.count() == 0
|
||||
assert path(response['Location']) == '/login/'
|
||||
response = response.follow()
|
||||
response = response.click('Create your account with FranceConnect')
|
||||
response = response.click(href='/accounts/fc/register')
|
||||
location = response['Location']
|
||||
location.startswith('http://testserver/accounts/activate/')
|
||||
response = response.follow()
|
||||
|
|
Reference in New Issue