~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/pgsql.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        if template is not None:
188
188
            self.template = template
189
189
        if dbname is PgTestSetup.dynamic:
190
 
            from canonical.testing.layers import BaseLayer
 
190
            from lp.testing.layers import BaseLayer
191
191
            if os.environ.get('LP_TEST_INSTANCE'):
192
192
                self.dbname = "%s_%s" % (
193
193
                    self.__class__.dbname, os.environ.get('LP_TEST_INSTANCE'))