Code review comment for lp:~deadlight/canonical-identity-provider/form-error-states

Revision history for this message
Daniel Manrique (roadmr) wrote :

======================================================================
FAIL: identityprovider.tests.sso_server.test_standalone_login.StandaloneLoginTestCase.test_login
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/canonical-identity-provider/form-error-states/src/identityprovider/tests/sso_server/test_standalone_login.py", line 22, in test_login
    '<span class="trusted-rp-name">Ubuntu One</span> '
  File "/src/canonical-identity-provider/form-error-states/env/local/lib/python2.7/site-packages/django/test/testcases.py", line 393, in assertContains
    self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr)
  File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
    raise self.failureException(msg)
AssertionError: Couldn't find '<span class="trusted-rp-name">Ubuntu One</span> <span class="action-title">log in</span>' in response
======================================================================
FAIL: identityprovider.tests.sso_server.test_home_page.HomePageTestCase.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/canonical-identity-provider/form-error-states/src/identityprovider/tests/sso_server/test_home_page.py", line 22, in test
    '<span class="trusted-rp-name">Ubuntu One</span> '
  File "/src/canonical-identity-provider/form-error-states/env/local/lib/python2.7/site-packages/django/test/testcases.py", line 393, in assertContains
    self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr)
  File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
    raise self.failureException(msg)
AssertionError: Couldn't find '<span class="trusted-rp-name">Ubuntu One</span> <span class="action-title">log in</span>' in response
======================================================================
FAIL: identityprovider.tests.test_fields.PasswordFieldTestCase.test_widget_attrs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/canonical-identity-provider/form-error-states/src/identityprovider/tests/test_fields.py", line 121, in test_widget_attrs
    self.assertEqual(self.field.widget.attrs, self.expected_attrs)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 835, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: {'autocomplete': 'off', 'placeholder': u'Password', 'class': 'disableAutoComplet [truncated]... != {'autocomplete': 'off', 'placeholder': u'Password', 'class': 'disableAutoComplet [truncated]...
  {'autocomplete': 'off',
- 'class': 'disableAutoComplete textType ',
? -

+ 'class': 'disableAutoComplete textType',
   'placeholder': u'Password'}

Ran 3272 tests in 80.238s
FAILED (failures=3)

« Back to merge proposal