Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Sep 2, 2024
1 parent eb914ac commit f121324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iommi/admin__tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_login_to_admin(settings, client):

response = client.post('/login/', data={'username': 'staff', 'password': 'password', '-submit': ''})
assert isinstance(response, HttpResponseRedirect)
assert 'All models' in client.get('/').content.decode()
assert 'Change password' in client.get('/').content.decode()

client.get('/logout/')
assert client.get('/').status_code == 302
Expand Down

0 comments on commit f121324

Please sign in to comment.