U
    {®Þh9  ã                   @   s@   d dl mZ d dlmZmZ G dd„ deƒZG dd„ deƒZdS )é    )ÚSimpleTestCase)Úget_icon_sprite_hashÚget_icon_sprite_urlc                   @   s   e Zd Zdd„ ZdS )ÚTestIconSpriteViewc                 C   s:   | j  tƒ ¡}|  |jd d¡ |  |jjd tƒ ¡ d S )NzContent-Typezimage/svg+xml; charset=utf-8Úh)ÚclientÚgetr   ÚassertEqualÚheadersZwsgi_requestÚGETr   )ÚselfÚresponse© r   úl/var/www/dating/data/www/fatepal.com/env/lib/python3.8/site-packages/wagtail/admin/tests/test_icon_sprite.pyÚtest_content_type   s     ÿz$TestIconSpriteView.test_content_typeN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s   r   c                   @   s   e Zd Zdd„ ZdS )ÚTestIconSpriteHashc                 C   s   |   ttƒ ƒd¡ d S )Né   )r	   Úlenr   )r   r   r   r   Ú	test_hash   s    zTestIconSpriteHash.test_hashN)r   r   r   r   r   r   r   r   r      s   r   N)Zdjango.testr   Zwagtail.admin.iconsr   r   r   r   r   r   r   r   Ú<module>   s   	