~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to test_on_merge.py

  • Committer: William Grant
  • Date: 2012-01-01 03:03:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101030328-xtkp6ob1q8h40sxw
Format the non-contrib bits of lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
"""Tests that get run automatically on a merge."""
7
7
import _pythonpath
8
8
 
9
 
import errno
10
 
import os
11
 
import select
12
 
from signal import (
13
 
    SIGHUP,
14
 
    SIGINT,
15
 
    SIGKILL,
16
 
    SIGTERM,
17
 
    )
 
9
import sys, time
 
10
import os, errno
 
11
import tabnanny
18
12
from StringIO import StringIO
19
 
from subprocess import (
20
 
    PIPE,
21
 
    Popen,
22
 
    STDOUT,
23
 
    )
24
 
import sys
25
 
import tabnanny
26
 
import time
27
 
 
28
13
import psycopg2
 
14
from subprocess import Popen, PIPE, STDOUT
 
15
from signal import SIGKILL, SIGTERM, SIGINT, SIGHUP
 
16
import select
 
17
 
29
18
 
30
19
# The TIMEOUT setting (expressed in seconds) affects how long a test will run
31
20
# before it is deemed to be hung, and then appropriately terminated.