~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/tests/test_pgsql.py

  • Committer: Stuart Bishop
  • Date: 2011-09-05 15:42:27 UTC
  • mto: (13813.4.4 pgbouncer-fixture)
  • mto: This revision was merged to the branch mainline in revision 13875.
  • Revision ID: stuart.bishop@canonical.com-20110905154227-ke7d9fy9jr9uk87y
Revert reversion in launchpad/devel r13865

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        fixture.setUp()
54
54
        self.addCleanup(fixture.dropDb)
55
55
        self.addCleanup(fixture.tearDown)
56
 
        expected_value = 'dbname=%s' % fixture.dbname
 
56
        expected_value = 'dbname=%s host=localhost' % fixture.dbname
57
57
        self.assertEqual(expected_value, dbconfig.rw_main_master)
58
58
        self.assertEqual(expected_value, dbconfig.rw_main_slave)
59
59
        with ConfigUseFixture(BaseLayer.appserver_config_name):