Code review comment for lp://staging/~cjohnston/qa-dashboard/devel

Revision history for this message
Chris Johnston (cjohnston) wrote :

The attempt to merge lp:~cjohnston/qa-dashboard/devel into lp:qa-dashboard failed. Below is the output from the failed tests.

Creating test database for alias 'default'...
Destroying test database for alias 'default'...

/usr/lib/python2.7/dist-packages/django/conf/urls/defaults.py:3: DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
  DeprecationWarning)

....................................................FF.....................WARNING:root:extension: 'error'
.......................................................................................................................................................................
======================================================================
FAIL: test_instance_banner_tag_exports_details (common.tests.test_instance.TestInstanceTags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 50, in test_instance_banner_tag_exports_details
    instance_banner()
AssertionError: {'configuration': 'staging'} != {'configuration': 'devel'}
- {'configuration': 'staging'}
? ^^^^^^^

+ {'configuration': 'devel'}
? ^^^^^

======================================================================
FAIL: test_instance_banner_tag_rendered_in_development (common.tests.test_instance.TestInstanceTags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 63, in test_instance_banner_tag_rendered_in_development
    rendered
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 39, in assertIn
    item2
AssertionError: '<p>You are accessing the <strong>staging</strong> instance of the <strong>CI Dashboard</strong>' not in u'\n <div class="staging-banner-under"></div>\n <div id="instance" class="staging-banner">\n <p>You are accessing the <strong>devel</strong> instance of the <strong>CI Dashboard</strong>. This should only be used for testing or training.</p>\n <p>Please use the <strong>production</strong> instance instead: <a href="http://reports.qa.ubuntu.com" title="CI Dashboard">http://reports.qa.ubuntu.com</a>.</p>\n </div>\n\n'

----------------------------------------------------------------------
Ran 242 tests in 16.942s

FAILED (failures=2)

« Back to merge proposal