U
    ?hL                     @   s,   d Z ddlZddlmZ dd Zdd ZdS )z<Unit tests for the :mod:`networkx.generators.triads` module.    N)triad_graphc                  C   s*   t d} dd dD t|  ks&td S )NZ030Tc                 S   s   g | ]}t |qS  )tuple).0er   r   W/var/www/html/venv/lib/python3.8/site-packages/networkx/generators/tests/test_triads.py
<listcomp>	   s     z$test_triad_graph.<locals>.<listcomp>)abaccb)r   sortededgesAssertionError)Gr   r   r   test_triad_graph   s    r   c                	   C   s"   t t td W 5 Q R X d S )NZbogus)pytestZraises
ValueErrorr   r   r   r   r   test_invalid_name   s    r   )__doc__r   Znetworkxr   r   r   r   r   r   r   <module>   s   