
    M}bg/                     b    d dl mZ 	 d dlZn# e$ r d dlZY nw xY w G d dej                  ZdS )    )	SpamCheckNc                   ,    e Zd Zd Zd Zd Zd Zd ZdS )	UnitTestsc                     dddd}t          ddd          }|                     |                                |           d S )NT   https://www.test.comenable	thresholdpost_to_urlr   assertEqualgetselfexpected
spam_checks      l/home/e360mart.nyusoft.in/public_html/e360mart_env/lib/python3.11/site-packages/test/unit/test_spam_check.pytest_spam_all_valueszUnitTests.test_spam_all_values   sM    "CYZZdaE[\\\
))844444    c                     ddd}t          dd          }|                     |                                |           d S )NT
   )r
   r   r   r   s      r   test_spam_no_urlzUnitTests.test_spam_no_url   sG    "44db999
))844444r   c                 ~    ddi}t          d          }|                     |                                |           d S )Nr
   T)r
   r   r   s      r   test_spam_no_thresholdz UnitTests.test_spam_no_threshold   sB    d#d+++
))844444r   c                     dddd}t          ddd          }|                     |                                |           d S )NF   r   r	   r   r   s      r   test_has_values_but_not_enabledz)UnitTests.test_has_values_but_not_enabled   sM    #!DZ[[eqF\]]]
))844444r   c                     dddd}t          ddd          }d|_        d|_        d|_        |                     |                                |           dS )	z5Tests changing the properties of the spam check classFr   zhttps://www.testing.comr	   Tr   r   N)r   r
   r   r   r   r   r   s      r   test_spam_change_propertiesz%UnitTests.test_spam_change_properties   se    #"E^__daE[\\\
!
!
!:
))844444r   N)__name__
__module____qualname__r   r   r   r   r     r   r   r   r   	   s_        5 5 5
5 5 5
5 5 5
5 5 5
5 5 5 5 5r   r   ) sendgrid.helpers.mail.spam_checkr   	unittest2unittestImportErrorTestCaser   r$   r   r   <module>r*      s    6 6 6 6 6 6        OOOOO5 5 5 5 5! 5 5 5 5 5s    	