tests: don't use deprecated status_code

This commit is contained in:
Frédéric Péters 2015-04-03 22:32:48 +02:00
parent 778bb3d72c
commit fbcd3dfe26
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def test_add_connector(admin_user):
resp.forms[0]['username'] = 'username'
resp.forms[0]['password'] = 'password'
resp = resp.forms[0].submit()
assert resp.status_code == 302
assert resp.status_int == 302
assert resp.location == 'http://localhost:80/ovh/test-connector/'
resp = resp.follow()
assert 'OVH - Test Connector' in resp.body