~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_codereviewvote.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
from zope.security.interfaces import Unauthorized
5
5
 
6
 
from canonical.database.constants import UTC_NOW
7
 
from canonical.testing.layers import DatabaseFunctionalLayer
8
6
from lp.code.enums import CodeReviewVote
9
7
from lp.code.errors import (
10
8
    ClaimReviewFailed,
13
11
    )
14
12
from lp.code.interfaces.codereviewvote import ICodeReviewVoteReference
15
13
from lp.code.tests.helpers import make_merge_proposal_without_reviewers
 
14
from lp.services.database.constants import UTC_NOW
16
15
from lp.testing import (
17
16
    login_person,
18
17
    TestCaseWithFactory,
19
18
    )
 
19
from lp.testing.layers import DatabaseFunctionalLayer
20
20
 
21
21
 
22
22
class TestCodeReviewVote(TestCaseWithFactory):