o
    ÌÉhÞ  ã                   @   s¬   d dl Z d dlmZ d dlmZ ddlmZ G dd„ dejƒZG dd	„ d	ej	ƒZ
G d
d„ dejƒZG dd„ dej	ƒZG dd„ dej	ƒZG dd„ deƒZG dd„ dejƒZdS )é    N)ÚDjangoModelFactory)Úwagtail_factoriesé   )Úmodelsc                   @   ó"   e Zd ZdZdZG dd„ dƒZdS )ÚSimpleStructBlockFactoryúChar Block 1úChar Block 2c                   @   ó   e Zd ZejZdS )zSimpleStructBlockFactory.MetaN)Ú__name__Ú
__module__Ú__qualname__r   ÚSimpleStructBlockÚmodel© r   r   úm/var/www/html/ndineBlogger/venv/lib/python3.10/site-packages/wagtail/test/streamfield_migrations/factories.pyÚMeta   ó    
r   N©r   r   r   Úchar1Úchar2r   r   r   r   r   r   	   ó    r   c                   @   r   )ÚSimpleStreamBlockFactoryr   r	   c                   @   r
   )zSimpleStreamBlockFactory.MetaN)r   r   r   r   ÚSimpleStreamBlockr   r   r   r   r   r      r   r   Nr   r   r   r   r   r      r   r   c                   @   ó>   e Zd ZdZe e¡Ze e¡Z	e
 e
j¡ZG dd„ dƒZdS )ÚNestedStructBlockFactoryr   c                   @   r
   )zNestedStructBlockFactory.MetaN)r   r   r   r   ÚNestedStructBlockr   r   r   r   r   r      r   r   N©r   r   r   r   ÚfactoryÚ
SubFactoryr   Ústruct1r   Ústream1r   ÚListBlockFactoryÚCharBlockFactoryÚlist1r   r   r   r   r   r      ó    

r   c                   @   r   )ÚNestedStreamBlockFactoryr   c                   @   r
   )zNestedStreamBlockFactory.MetaN)r   r   r   r   ÚNestedStreamBlockr   r   r   r   r   r   )   r   r   Nr   r   r   r   r   r&   #   r%   r&   c                   @   sj   e Zd ZdZdZe e¡Ze e	¡Z
e ej¡Ze e¡Ze e¡Ze e¡Ze e	¡ZG dd„ dƒZdS )ÚBaseStreamBlockFactoryr   r	   c                   @   r
   )zBaseStreamBlockFactory.MetaN)r   r   r   r   ÚBaseStreamBlockr   r   r   r   r   r   8   r   r   N)r   r   r   r   r   r   r   r   Úsimplestructr   Úsimplestreamr   r"   r#   Ú
simplelistr   Únestedstructr&   ÚnestedstreamÚnestedlist_structÚnestedlist_streamr   r   r   r   r   r(   -   s    





r(   c                   @   ó$   e Zd Ze e¡ZG dd„ dƒZdS )ÚSampleModelFactoryc                   @   r
   )zSampleModelFactory.MetaN)r   r   r   r   ÚSampleModelr   r   r   r   r   r   ?   r   r   N©r   r   r   r   ÚStreamFieldFactoryr(   Úcontentr   r   r   r   r   r2   <   ó    
r2   c                   @   r1   )ÚSamplePageFactoryc                   @   r
   )zSamplePageFactory.MetaN)r   r   r   r   Ú
SamplePager   r   r   r   r   r   F   r   r   Nr4   r   r   r   r   r8   C   r7   r8   )r   Úfactory.djangor   Úwagtail.test.utilsr   Ú r   ÚStructBlockFactoryr   ÚStreamBlockFactoryr   r   r&   r(   r2   ÚPageFactoryr8   r   r   r   r   Ú<module>   s    

