+
    ¾¾jº  ã                  óŽ   € R t ^ RIHt ^ RIt^ RIHt  ! R R4      t ! R R4      t ! R R	4      t ! R
 R4      t	 ! R R4      t
R# )z9Tests for vCard ORG (Organization) property per RFC 6350.)ÚannotationsN)ÚvOrgc                  ó8   € ] tR t^
tRtR tR tR tR tR t	Rt
R# )	ÚTestVOrgCreationz$Test vOrg creation and field access.c                óB   € \        R4      pVP                  R8X  g   Q hR# )z Create ORG from tuple of fields.N©úABC Inc.Ú	MarketingÚSales©r   Úfields©ÚselfÚorgs   & Úg/home/ralf/ical-fahrzeuge/venv/lib/python3.14/site-packages/icalendar/tests/rfc_6350_vcard/test_vOrg.pyÚtest_org_creation_with_tupleÚ-TestVOrgCreation.test_org_creation_with_tuple   s    € äÐ5Ó6ˆØ�z‰zÐ?Ô?Ð?Ò?ó    c                óF   € \        RR.4      pVP                  R8X  g   Q hR# )zCreate ORG from list of fields.r   r	   N©r   r	   r   r   s   & r   Útest_org_creation_with_listÚ,TestVOrgCreation.test_org_creation_with_list   s$   € ä�J Ð,Ó-ˆØ�z‰zÐ6Ô6Ð6Ò6r   c                óB   € \        R4      pVP                  R8X  g   Q hR# )z$Create ORG from vCard format string.úABC Inc.;Marketing;SalesNr   r   r   s   & r   Útest_org_creation_with_stringÚ.TestVOrgCreation.test_org_creation_with_string   s    € äÐ-Ó.ˆØ�z‰zÐ?Ô?Ð?Ò?r   c                óž   € \         P                  ! \        RR7      ;_uu_ 4        \        R4       RRR4       R#   + '       g   i     R# ; i)z3ORG must have at least 1 field (organization name).zat least 1 field)ÚmatchN© )ÚpytestÚraisesÚ
ValueErrorr   )r   s   &r   Ú$test_org_requires_at_least_one_fieldÚ5TestVOrgCreation.test_org_requires_at_least_one_field   s+   € ä�]Š]œ:Ð-?×@Ö@Ü�ŒH÷ A×@×@Ò@ús	   ¥;»A	c                óð   € \        R4      p\        VP                  4      ^8X  g   Q h\        R4      p\        VP                  4      ^8X  g   Q h\        R4      p\        VP                  4      ^8X  g   Q hR# )z5ORG supports variable number of organizational units.N©r   r   ©r   úNorth AmericaÚUSAÚ
Californiar	   )r   Úlenr   )r   Úorg1Úorg2Úorg3s   &   r   Útest_org_variable_lengthÚ)TestVOrgCreation.test_org_variable_length!   sm   € ô �MÓ"ˆÜ�4—;‘;Ó 1Ô$Ð$Ð$ô Ð-Ó.ˆÜ�4—;‘;Ó 1Ô$Ð$Ð$ô ÐSÓTˆÜ�4—;‘;Ó 1Ô$Ð$Ò$r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r"   r.   Ú__static_attributes__r   r   r   r   r   
   s    † Ù.ò@ò
7ò
@ò
ö
%r   r   c                  ó8   € ] tR t^0tRtR tR tR tR tR t	Rt
R# )	ÚTestVOrgNameAndUnitsz$Test vOrg name and units properties.c                óB   € \        R4      pVP                  R8X  g   Q hR# )z:name property returns the organization name (first field).r   Nr   ©r   Únamer   s   & r   Útest_name_propertyÚ'TestVOrgNameAndUnits.test_name_property3   s   € äÐ5Ó6ˆØ�x‰x˜:Ô%Ð%Ò%r   c                óB   € \        R4      pVP                  R8X  g   Q hR# )z&name property works with single field.r   Nr%   r9   r   s   & r   Útest_name_property_single_fieldÚ4TestVOrgNameAndUnits.test_name_property_single_field8   s   € ä�=Ó!ˆØ�x‰x˜:Ô%Ð%Ò%r   c                óB   € \        R4      pVP                  R8X  g   Q hR# )z?units property returns organizational units (remaining fields).Nr   )r	   r
   ©r   Úunitsr   s   & r   Útest_units_propertyÚ(TestVOrgNameAndUnits.test_units_property=   s    € äÐ5Ó6ˆØ�y‰yÐ2Ô2Ð2Ò2r   c                óB   € \        R4      pVP                  R8X  g   Q hR# )z=units property returns empty tuple when only name is present.Nr%   r   rA   r   s   & r   Ú test_units_property_single_fieldÚ5TestVOrgNameAndUnits.test_units_property_single_fieldB   s   € ä�=Ó!ˆØ�y‰y˜BŒÐŠr   c                óB   € \        R4      pVP                  R8X  g   Q hR# )z0units property returns all organizational units.Nr&   )r'   r(   r)   r	   rA   r   s   & r   Útest_units_property_many_unitsÚ3TestVOrgNameAndUnits.test_units_property_many_unitsG   s    € äÐRÓSˆØ�y‰yÐOÔOÐOÒOr   r   N)r0   r1   r2   r3   r4   r;   r>   rC   rF   rI   r5   r   r   r   r7   r7   0   s   † Ù.ò&ò
&ò
3ò
ö
Pr   r7   c                  ó,   € ] tR t^MtRtR tR tR tRtR# )ÚTestVOrgSerializationz Test vOrg to_ical and from_ical.c                óN   € \        R4      pVP                  4       pVR8X  g   Q hR# )z1ORG to_ical generates semicolon-separated format.s   ABC Inc.;Marketing;SalesNr   )r   Úto_ical)r   r   Úresults   &  r   Útest_org_to_icalÚ&TestVOrgSerialization.test_org_to_icalP   s'   € äÐ5Ó6ˆØ—‘“ˆØÐ4Ô4Ð4Ò4r   c                óD   € \         P                  ! R4      pVR8X  g   Q hR# )zParse ORG from vCard format.r   Nr   )r   Ú	from_ical)r   rO   s   & r   Útest_org_from_icalÚ(TestVOrgSerialization.test_org_from_icalV   s    € ä—’Ð :Ó;ˆØÐ;Ô;Ð;Ò;r   c                ó|   € Rp\        V4      pVP                  4       p\         P                  ! V4      pWA8X  g   Q hR# )z6ORG survives round-trip through to_ical and from_ical.N)r   zNorth American Divisionr	   ©r   rN   rS   )r   Úoriginalr   ÚicalÚparseds   &    r   Útest_org_round_tripÚ)TestVOrgSerialization.test_org_round_trip[   s5   € àGˆÜ�8‹nˆØ�{‰{‹}ˆÜ—’ Ó%ˆØÔ!Ð!Ò!r   r   N)	r0   r1   r2   r3   r4   rP   rT   r[   r5   r   r   r   rL   rL   M   s   † Ù*ò5ò<ö
"r   rL   c                  ó&   € ] tR t^dtRtR tR tRtR# )ÚTestVOrgEscapingzTest vOrg escaping behavior.c                ó~   € \        R4      pVP                  4       pRV9  g   Q hVP                  R4      ^8X  g   Q hR# )z4Semicolons in ORG are field separators, not escaped.s   \;ó   ;Nr   )r   rN   Úcount)r   r   rY   s   &  r   Ú-test_org_semicolons_not_escaped_as_separatorsÚ>TestVOrgEscaping.test_org_semicolons_not_escaped_as_separatorsg   s=   € äÐ5Ó6ˆØ�{‰{‹}ˆØ˜TÔ!Ð!Ð!Ø�z‰z˜$Ó 1Ô$Ð$Ò$r   c                óš   € \        R4      pVP                  4       pRV9   g   Q h\         P                  ! V4      pV^ ,          R8X  g   Q hR# )z2Commas within ORG fields ARE escaped per RFC 6350.ú	ABC, Inc.s   \,N)re   r	   rW   )r   r   rY   rZ   s   &   r   Útest_org_commas_in_name_escapedÚ0TestVOrgEscaping.test_org_commas_in_name_escapedn   sD   € äÐ-Ó.ˆØ�{‰{‹}ˆØ˜Œ~Ðˆ~ä—’ Ó%ˆØ�a�y˜KÔ'Ð'Ò'r   r   N)r0   r1   r2   r3   r4   rb   rf   r5   r   r   r   r^   r^   d   s   † Ù&ò%ö(r   r^   c                  ó    € ] tR t^xtRtR tRtR# )ÚTestVOrgIcalValuezTest vOrg ical_value property.c                ó|   € \        R4      pVP                  VP                  8X  g   Q hVP                  R8X  g   Q hR# )z-ical_value property returns the fields tuple.Nr   )r   Ú
ical_valuer   r   s   & r   Útest_ical_value_returns_fieldsÚ0TestVOrgIcalValue.test_ical_value_returns_fields{   s6   € äÐ5Ó6ˆØ�~‰~ §¡Ô+Ð+Ð+Ø�~‰~Ð!CÔCÐCÒCr   r   N)r0   r1   r2   r3   r4   rl   r5   r   r   r   ri   ri   x   s   † Ù(öDr   ri   )r4   Ú
__future__r   r   Úicalendar.propr   r   r7   rL   r^   ri   r   r   r   Ú<module>rp      sH   ðÙ ?å "ã å ÷#%ñ #%÷LPñ P÷:"ñ "÷.(ñ (÷(Dó Dr   