~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/initialize.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:
9
9
a replicated setup.
10
10
"""
11
11
 
12
 
import _pythonpath
13
 
 
14
12
from optparse import OptionParser
15
13
import subprocess
16
14
import sys
17
15
 
 
16
import _pythonpath
18
17
import helpers
19
18
 
20
 
from lp.services.config import config
21
 
from lp.services.database.postgresql import (
 
19
from canonical.config import config
 
20
from canonical.database.postgresql import (
22
21
    all_sequences_in_schema,
23
22
    all_tables_in_schema,
24
23
    ConnectionString,
25
24
    )
26
 
from lp.services.database.sqlbase import (
 
25
from canonical.database.sqlbase import (
27
26
    connect,
28
27
    ISOLATION_LEVEL_AUTOCOMMIT,
29
28
    )