o
    b                     @   sD   d Z ddlmZ ddlZddlmZ ejdddd Zdd	 Z	dS )
zCTests for the pylint checker in :mod:`pylint.extensions.check_elif
    NElseifUsedCheckermodule)scopec                 C   s   t S )Nr   )checker r   f/var/www/secure340b-portal/env/lib/python3.10/site-packages/pylint/test/extensions/test_elseif_used.pyr      s   r   c                 C   s   t t t tdd}| |g | jj}t|dksJ |D ]}|j	dks*J |j
dks1J q!|d jdks;J |d jd	ksDJ d S )
Ndatazelif.py   zelse-if-usedz*Consider using "elif" instead of "else if"r   	         )ospjoindirnameabspath__file__checkreportermessageslensymbolmsgline)ZlinterZ	elif_testZmsgsr   r   r   r   test_elseif_message   s   r   )
__doc__os.pathpathr   ZpytestZpylint.extensions.check_elifr   Zfixturer   r   r   r   r   r   <module>   s   

