U
    {h$                     @   s8   d dl mZ d dlmZ d dlmZ G dd deZdS )    )
Permission)ContentType)TestCasec                   @   s   e Zd Zdd Zdd ZdS )TestMigrationsc                 C   s   |  tjjddd  d S )NZsimple_translationZsimpletranslation)Z	app_labelmodel)
assertTruer   objectsfilterexistsself r   /var/www/dating/data/www/fatepal.com/env/lib/python3.8/site-packages/wagtail/contrib/simple_translation/tests/test_migrations.pytest_content_type_exists   s     z'TestMigrations.test_content_type_existsc                 C   s   |  tjjdd  d S )NZsubmit_translation)codename)r   r   r   r	   r
   r   r   r   r   test_permission_exists   s    z%TestMigrations.test_permission_existsN)__name__
__module____qualname__r   r   r   r   r   r   r      s   r   N)Zdjango.contrib.auth.modelsr   Z"django.contrib.contenttypes.modelsr   Zwagtail.test.utilsr   r   r   r   r   r   <module>   s   