~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/job/tests/test_job.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:16:50 UTC
  • mfrom: (14606.3.7 apocaremains)
  • Revision ID: launchpad@pqm.canonical.com-20111231001650-pjeyhfjhm6mg3yp8
[r=wgrant][no-qa] Merge canonical.database into lp.services.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import pytz
10
10
from storm.locals import Store
11
11
 
12
 
from canonical.database.constants import UTC_NOW
 
12
from lp.services.database.constants import UTC_NOW
13
13
from lp.services.database.lpstorm import IStore
14
 
from lp.services.webapp.testing import verifyObject
15
 
from lp.testing.layers import ZopelessDatabaseLayer
16
14
from lp.services.job.interfaces.job import (
17
15
    IJob,
18
16
    JobStatus,
22
20
    Job,
23
21
    LeaseHeld,
24
22
    )
 
23
from lp.services.webapp.testing import verifyObject
25
24
from lp.testing import (
26
25
    TestCase,
27
26
    TestCaseWithFactory,
28
27
    )
 
28
from lp.testing.layers import ZopelessDatabaseLayer
29
29
 
30
30
 
31
31
class TestJob(TestCaseWithFactory):