0x1949 Team - FAZEMRX - MANAGER
Edit File: test_formmethod.cpython-310.pyc
o �by � @ s2 d Z ddlmZ ddlmZ G dd� dej�ZdS )z# Test cases for formmethod module. � )� formmethod)�unittestc @ sl e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� ZdS )� ArgumentTestsc O sV |dg|�R i |��}|D ] \}}| � |�|�|� q |D ]}| �tj|j|� qd S )N�name)�assertEqual�coerce�assertRaisesr � InputError) �self�argKlass� testPairs� badValues�args�kwargs�arg�val�result� r �>/usr/lib/python3/dist-packages/twisted/test/test_formmethod.py�argTest s �zArgumentTests.argTestc C s t �d�}| �t|jd� dS )zG Test that corce correctly raises NotImplementedError. r � N)r �Argumentr �NotImplementedErrorr )r r r r r � test_argument s zArgumentTests.test_argumentc C sb | � tjg d�d� | j tjddgddd� | j tjddgd d d� | j tjddgd dd d� d S )N)��ar )� �1�r r r ��abr )�abcr! )�2r � )�minr )�223213�345x� )�max)�addr) )r% �x�r$ r( )r r �String�r r r r � testString s �� �zArgumentTests.testStringc C �0 | � tjg d�d� | j tjddgddd� d S )N)��3r'