Current File : //proc/self/root/lib/python3/dist-packages/twisted/test/__pycache__/test_reflect.cpython-312.pyc |
�
Ϫ�f�_ � � � d Z ddlZddlZddlmZ ddlmZ ddlmZm Z m
Z
mZmZ ddl
mZ G d� d� Z G d � d
e� Z G d� d� Z G d
� de� Z G d� de� Z G d� de� Z G d� de� Z G d� d� Z G d� de� Z G d� d� Z G d� dee� Z edefddd�� Z G d � d!e� Z G d"� d#e� Z G d$� d%e� Z G d&� d'e� Z G d(� d)e� Z! G d*� d+e� Z" G d,� d-e� Z#y).z6
Test cases for the L{twisted.python.reflect} module.
� N)�deque)�reflect)�accumulateMethods�addMethodNamesToDict�fullyQualifiedName�prefixedMethodNames�prefixedMethods)�SynchronousTestCasec � � e Zd ZdZd� Zy)�Basez`
A no-op class which can be used to verify the behavior of
method-discovering APIs.
c � � y)z9
A no-op method which can be discovered.
N� ��selfs �;/usr/lib/python3/dist-packages/twisted/test/test_reflect.py�methodzBase.method � � � N)�__name__�
__module__�__qualname__�__doc__r r r r r r s � ��
r r c � � e Zd ZdZy)�SubzF
A subclass of a class with a method which can be discovered.
N)r r r r r r r r r $ s � �r r c � � e Zd ZdZd� Zd� Zy)�Separatez=
A no-op class with methods with differing prefixes.
c � � y)zJ
A no-op method which a matching prefix to be discovered.
Nr r s r �good_methodzSeparate.good_method/ r r c � � y)zO
A no-op method with a mismatched prefix to not be discovered.
Nr r s r �
bad_methodzSeparate.bad_method4 r r N)r r r r r r r r r r r * s � ���
r r c �"