Merge lp://staging/~cjohnston/qa-dashboard/fix-tests-tarmac into lp://staging/qa-dashboard

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 154
Merged at revision: 154
Proposed branch: lp://staging/~cjohnston/qa-dashboard/fix-tests-tarmac
Merge into: lp://staging/qa-dashboard
Diff against target: 29 lines (+7/-7)
2 files modified
common/templates/banner.html (+7/-4)
common/templates/layout.html (+0/-3)
To merge this branch: bzr merge lp://staging/~cjohnston/qa-dashboard/fix-tests-tarmac
Reviewer Review Type Date Requested Status
Chris Johnston Approve
Review via email: mp+137383@code.staging.launchpad.net

Commit message

Fixes tests for tarmac.

Description of the change

Fixes tests for tarmac.

To post a comment you must log in.
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve
Revision history for this message
Chris Johnston (cjohnston) wrote :

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

Creating test database for alias 'default'...

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/south/management/commands/test.py", line 8, in handle
    super(Command, self).handle(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 37, in handle
    failures = test_runner.run_tests(test_labels)
  File "/usr/lib/python2.7/dist-packages/django/test/simple.py", line 359, in run_tests
    old_config = self.setup_databases()
  File "/usr/lib/python2.7/dist-packages/django/test/simple.py", line 296, in setup_databases
    test_db_name = connection.creation.create_test_db(self.verbosity, autoclobber=not self.interactive)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py", line 351, in create_test_db
    self._create_test_db(verbosity, autoclobber)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py", line 424, in _create_test_db
    cursor = self.connection.cursor()
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 252, in cursor
    cursor = util.CursorWrapper(self._cursor(), self)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 140, in _cursor
    self.connection = Database.connect(**conn_params)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL: password authentication failed for user "qa_user"
FATAL: password authentication failed for user "qa_user"

Revision history for this message
Chris Johnston (cjohnston) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches