Module Expr Str Import alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args defaults body Return ListLoad Str NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Dict NameLoad ListLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMod AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Tests for positioning sentences.
 N/A itertools twisted.positioning _sentence twisted.trial.unittest TestCase N/A sentinelValueOne someStringValue N/A sentinelValueTwo someOtherStringValue DummyProtocol N/A object N/A N/A 
    A simple, fake protocol.
     getSentenceAttributes N/A N/A N/A N/A N/A N/A type sentinelValueOne sentinelValueTwo N/A staticmethod N/A DummySentence N/A N/A _sentence _BaseSentence N/A N/A 
    A sentence for L{DummyProtocol}.
     N/A ALLOWED_ATTRIBUTES N/A N/A DummyProtocol getSentenceAttributes N/A MixinProtocol N/A N/A _sentence _PositioningSentenceProducerMixin N/A N/A 
    A simple, fake protocol that declaratively tells you the sentences
    it produces using L{base.PositioningSentenceProducerMixin}.
     N/A _SENTENCE_CONTENTS N/A None N/A sentinelValueOne sentinelValueTwo None N/A MixinSentence N/A N/A _sentence _BaseSentence N/A N/A 
    A sentence for L{MixinProtocol}.
     N/A ALLOWED_ATTRIBUTES N/A N/A MixinProtocol getSentenceAttributes N/A SentenceTestsMixin N/A object N/A N/A 
    Tests for positioning protocols and their respective sentences.
     test_attributeAccess N/A N/A self N/A N/A N/A 
        A sentence attribute gets the correct value, and accessing an
        unset attribute (which is specified as being a valid sentence
        attribute) gets C{None}.
         N/A thisSentinel N/A object N/A sentence N/A N/A self sentenceClass N/A sentinelValueOne thisSentinel N/A N/A N/A self assertEqual N/A getattr sentence sentinelValueOne thisSentinel N/A N/A N/A self assertEqual N/A getattr sentence sentinelValueTwo None N/A test_raiseOnMissingAttributeAccess N/A N/A self N/A N/A N/A 
        Accessing a nonexistent attribute raises C{AttributeError}.
         N/A sentence N/A N/A self sentenceClass N/A N/A N/A N/A self assertRaises AttributeError getattr sentence BOGUS N/A test_raiseOnBadAttributeAccess N/A N/A self N/A N/A N/A 
        Accessing bogus attributes raises C{AttributeError}, *even*
        when that attribute actually is in the sentence data.
         N/A sentence N/A N/A self sentenceClass N/A BOGUS None N/A N/A N/A self assertRaises AttributeError getattr sentence BOGUS N/A N/A sentenceType tummies N/A reprTemplate <%s (%s) {%s}> _expectedRepr N/A N/A self sentenceType dataRepr N/A unknown type N/A N/A 
        Builds the expected repr for a sentence.

        @param sentenceType: The name of the sentence type (e.g "GPGGA").
        @type sentenceType: C{str}
        @param dataRepr: The repr of the data in the sentence.
        @type dataRepr: C{str}
        @return: The expected repr of the sentence.
        @rtype: C{str}
         N/A clsName N/A N/A self sentenceClass __name__ N/A N/A N/A self reprTemplate N/A clsName sentenceType dataRepr N/A test_unknownTypeRepr N/A N/A self N/A N/A N/A 
        Test the repr of an empty sentence of unknown type.
         N/A sentence N/A N/A self sentenceClass N/A N/A expectedRepr N/A N/A self _expectedRepr N/A N/A N/A self assertEqual N/A repr sentence expectedRepr N/A test_knownTypeRepr N/A N/A self N/A N/A N/A 
        Test the repr of an empty sentence of known type.
         N/A sentence N/A N/A self sentenceClass N/A type N/A self sentenceType N/A expectedRepr N/A N/A self _expectedRepr N/A self sentenceType N/A N/A N/A self assertEqual N/A repr sentence expectedRepr N/A N/A DummyTests N/A TestCase SentenceTestsMixin N/A N/A 
    Tests for protocol classes that implement the appropriate interface
    (L{ipositioning.IPositioningSentenceProducer}) manually.
     setUp N/A N/A self N/A N/A N/A N/A self protocol N/A DummyProtocol N/A N/A self sentenceClass DummySentence N/A N/A MixinTests N/A TestCase SentenceTestsMixin N/A N/A 
    Tests for protocols deriving from L{base.PositioningSentenceProducerMixin}
    and their sentences.
     setUp N/A N/A self N/A N/A N/A N/A self protocol N/A MixinProtocol N/A N/A self sentenceClass MixinSentence N/A test_noNoneInSentenceAttributes N/A N/A self N/A N/A N/A 
        C{None} does not appear in the sentence attributes of the
        protocol, even though it's in the specification.

        This is because C{None} is a placeholder for parts of the sentence you
        don't really need or want, but there are some bits later on in the
        sentence that you do want. The alternative would be to have to specify
        things like "_UNUSED0", "_UNUSED1"... which would end up cluttering
        the sentence data and eventually adapter state.
         N/A sentenceAttributes N/A N/A N/A self protocol getSentenceAttributes N/A N/A N/A self assertNotIn None sentenceAttributes N/A sentenceContents N/A N/A self protocol _SENTENCE_CONTENTS N/A sentenceSpecAttributes N/A N/A itertools chain N/A N/A sentenceContents values N/A N/A N/A self assertIn None sentenceSpecAttributes N/A N/A