tests: adapt test to string change

This commit is contained in:
Benjamin Dauvergne 2019-06-22 20:41:52 +02:00
parent 9e9bdc22b9
commit 90b4104965
1 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ x,x,x,x'''.encode(encoding),
time.sleep(0.001)
def wait_finished():
new_resp = response.click('User Import')
new_resp = response.click('Users Import')
if new_resp.pyquery('tr[data-uuid="%s"] td.state span' % uuid).text() == 'finished':
return new_resp
@ -287,7 +287,7 @@ x,x,x,x'''.encode(encoding),
assert User.objects.count() == user_count
response = response.click('User Import')
response = response.click('Users Import')
response = response.forms['action-form'].submit(name='execute')
execute = list(report for report in _import.reports if not report.simulate)[0]