
    fF                         d dl Z d dlZd dlmZ  G d dej                  Ze j                            ddddi fddd	i fdddd
difdddi fdddd
difdddddifdddddifddddddfdddi fg	          d             ZdS )    N)UIDGeneratorc                       e Zd Zd ZdS )	TestToolsc                    t                      }|                                }|                                }d}|                     t	          |          |k               |                     d|v            |                    d          }|                                }|                     t	          |          |k               |                     d|v            |                    dd          }|                                }|                     t	          |          |k               |                     d|v            d S )N,   s   @example.comzExample.ORGs   @Example.ORGz/path/to/contents   -/path/to/content@Example.ORG)r   uidto_ical
assertTruelen)selfgr   txtlengths        c/var/www/dev/btcams2024/python_venv/lib/python3.11/site-packages/icalendar/tests/test_unit_tools.pytest_tools_UIDGeneratorz!TestTools.test_tools_UIDGenerator   s    NNeeggkkmm%CF*+++3./// eeM""kkmmCF*+++3./// eeM#566kkmmCF*+++8C?@@@@@    N)__name__
__module____qualname__r    r   r   r   r      s(        A A A A Ar   r   zsplit,expected,args,kw@example.comr   )r   	host_name	test.test)r   -z123@example.comunique123zabc@example.comabcz1234@test.icalendar1234ztest.icalendar)r   r   zabc@test.example.com)ztest.example.comr   c                 j    t          j        | i |}|                    |          d         |k    sJ dS )zIssue #345 - Why is tools.UIDGenerator a class (that must be instantiated) instead of a module?

    see https://github.com/collective/icalendar/issues/345
       N)r   r   split)argskwr"   expectedr   s        r   test_uid_generator_issue_345r&       sA    * 
D
'B
'
'C99UA(******r   )	pytestunittesticalendar.toolsr   TestCaser   markparametrizer&   r   r   r   <module>r-      s/     ( ( ( ( ( (A A A A A! A A A4 1-R!-)2.-k-89+~r*+rK45
R(E!24
R(E!24
DT%U%UW
 "=rC4   + +!  + + +r   