U
    d                     @   s0   d dl mZ d dlmZ d dlmZ dd ZdS )    )Client)schema)Personc                 C   sL   t jjddd tt}|d}|d d d }|ddd	idksHtd S )
NZSkippyZAU)nameZcountryz#{ people { name, country {name} } }dataZpeopler   r   Z	Australia)r   Zobjectscreater   r   executeAssertionError)dbclientZexecutedZreturned_person r   M/tmp/pip-unpacked-wheel-dnjn05s9/django_countries/tests/graphql/test_model.pytest_country_type   s
    
r   N)Zgraphene.testr   Z%django_countries.tests.graphql.schemar   Zdjango_countries.tests.modelsr   r   r   r   r   r   <module>   s   