Details
Description
Example issue:
self = <oioioi.base.tests.tests.TestLoginChange testMethod=test_can_change_login_from_invalid>
def test_can_change_login_from_invalid(self):
for l in self.invalid_logins:
self.user.username = l
self.user.save()
response = self.client.get(self.url_edit_profile)
# The html strings underneath may change with any django upgrade.
self.assertIn('<input class="form-control" id="id_username" '
'maxlength="30" name="username" type="text" '
> 'value="%s" />' % l, response.content)
E AssertionError:
self = <oioioi.base.tests.tests.TestLoginChange testMethod=test_can_change_login_from_invalid>
def test_can_change_login_from_invalid(self):
for l in self.invalid_logins:
self.user.username = l
self.user.save()
response = self.client.get(self.url_edit_profile)
# The html strings underneath may change with any django upgrade.
self.assertIn('<input class="form-control" id="id_username" '
'maxlength="30" name="username" type="text" '
> 'value="%s" />' % l, response.content)
E AssertionError:
Activity
- All
- Comments
- History
- Activity
- Transitions
- Commits
Michał Sidor
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Michał Sidor [ michcioperz ] |
Michał Sidor
made changes -
Status | New [ 10000 ] | Open [ 1 ] |
Michał Sidor
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | Michał Sidor [ michcioperz ] | Szymon Acedański [ accek ] |
Resolution | Fixed [ 1 ] |
Szymon Acedański
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |