+
    üÐj]  ã                   óD   € R t ^ RIHtHt  ! R R]P                  4      tR# )z
Receivers for use in tests.
)ÚbaseÚipositioningc                   ó6   a € ] tR t^t o RtR tR tR tRtV t	R# )ÚMockPositioningReceiverzþ
A mock positioning receiver.

Mocks all the L{IPositioningReceiver} methods with stubs that don't do
anything but register that they were called.

@ivar called: A mapping of names of callbacks that have been called to
    C{True}.
@type called: C{dict}
c                óv   € V P                  4        \        P                   F  pV P                  V4       K  	  R # )N)Úclearr   ÚIPositioningReceiverÚ_addCallback)ÚselfÚ
methodNames   & ÚC/usr/lib/python3/dist-packages/twisted/positioning/test/receiver.pyÚ__init__Ú MockPositioningReceiver.__init__   s)   € Ø�
‰
Œä&×;Ô;ˆJØ×Ñ˜jÖ)ó <ó    c                ó   € / V n         R# )z\
Forget all the methods that have been called on this receiver, by
emptying C{self.called}.
N©Úcalled)r
   s   &r   r   ÚMockPositioningReceiver.clear   s   € ð
 ˆŽr   c                ó2   a a€ VV 3R lp\        S SV4       R# )zY
Adds a callback of the given name, setting C{self.called[name]} to
C{True} when called.
c                  ó&   <€ R SP                   S&   R# )TNr   )ÚaÚkwÚnamer
   s   *,€€r   ÚcallbackÚ6MockPositioningReceiver._addCallback.<locals>.callback*   s   ø€ Ø $ˆD�K‰K˜Ór   N)Úsetattr)r
   r   r   s   ff r   r	   Ú$MockPositioningReceiver._addCallback$   s   ù€ ö	%ô 	��d˜HÖ%r   r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r	   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s   ø‡ € ñ	ò*ò÷	&ð 	&r   r   N)r!   Útwisted.positioningr   r   ÚBasePositioningReceiverr   © r   r   Ú<module>r(      s!   ðñ÷
 3ô"&˜d×:Ñ:ö "&r   