~allenap/maas/xxx-a-thon

« back to all changes in this revision

Viewing changes to src/provisioningserver/rpc/tests/test_docs.py

  • Committer: Gavin Panella
  • Date: 2016-03-22 21:14:34 UTC
  • mfrom: (4657.1.157 maas)
  • Revision ID: gavin.panella@canonical.com-20160322211434-xzuovio86zvzo2js
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
"""Test the documentation of defined commands.
5
5
 
6
6
Specifically, check
7
 
:py:class:`~provisioningserver.twisted.protocols.amp.Command` subclasses in the
 
7
:py:class:`~twisted.protocols.amp.Command` subclasses in the
8
8
MAAS codebase.
9
9
"""
10
10
 
18
18
import provisioningserver.rpc.cluster
19
19
import provisioningserver.rpc.common
20
20
import provisioningserver.rpc.region
21
 
from provisioningserver.twisted.protocols import amp
22
21
from testtools.matchers import (
23
22
    Annotate,
24
23
    Contains,
25
24
    MatchesAll,
26
25
    MatchesRegex,
27
26
)
 
27
from twisted.protocols import amp
28
28
 
29
29
 
30
30
def get_commands(module):