tests: adapt test to string change
This commit is contained in:
parent
9e9bdc22b9
commit
90b4104965
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue