~maas-maintainers/maas/maas-2.0-new-networking-templates

« back to all changes in this revision

Viewing changes to src/provisioningserver/twisted/protocols/tests/test_amp.py

  • Committer: Blake Rouse
  • Date: 2015-11-30 19:12:12 UTC
  • mto: (4489.9.13 python3)
  • mto: This revision was merged to the branch mainline in revision 4533.
  • Revision ID: blake.rouse@canonical.com-20151130191212-nxj2j3gx3lxntkkx
Fix review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import datetime
10
10
import decimal
11
11
 
12
 
from zope.interface import implementer
13
 
from zope.interface.verify import verifyClass, verifyObject
14
 
 
 
12
from provisioningserver.twisted.protocols import amp
 
13
from twisted.internet import (
 
14
    address,
 
15
    defer,
 
16
    error,
 
17
    interfaces,
 
18
    protocol,
 
19
    reactor,
 
20
)
15
21
from twisted.python import filepath
16
22
from twisted.python.compat import intToBytes
17
23
from twisted.python.failure import Failure
18
 
from provisioningserver.twisted.protocols import amp
19
 
from twisted.trial import unittest
20
 
from twisted.internet import (
21
 
    address, protocol, defer, error, reactor, interfaces)
22
24
from twisted.test import iosim
23
25
from twisted.test.proto_helpers import StringTransport
 
26
from twisted.trial import unittest
 
27
from zope.interface import implementer
 
28
from zope.interface.verify import (
 
29
    verifyClass,
 
30
    verifyObject,
 
31
)
 
32
 
24
33
 
25
34
ssl = None
26
35
try: