
9^c           @   s9   d  d l  Z  d  d l m Z d e  j f d     YZ d S(   iN(   t   patht	   RepoFilesc           B   s   e  Z d  d g d d g d g d g d g d g d g d	 g d
 g d g d d g d g d g d g d g d g g Z d   Z d   Z RS(   s   ./Dockerfiles   ./docker/Dockerfiles   ./docker-compose.ymls   ./docker/docker-compose.ymls   ./.env_samples   ./.gitignores   ./.travis.ymls   ./.codeclimate.ymls   ./CHANGELOG.mds   ./CODE_OF_CONDUCT.mds   ./CONTRIBUTING.mds   ./.github/ISSUE_TEMPLATEs   ./LICENSE.mds   ./LICENSE.txts   ./.github/PULL_REQUEST_TEMPLATEs   ./README.rsts   ./TROUBLESHOOTING.mds
   ./USAGE.mds   ./VERSION.txtc         C   s   t  t d   |   S(   s   
        Checks the list of files and sees if they exist. If all of them don't
        exist, returns False. Otherwise, return True.
        c         S   s   t  j |   S(   N(   R    t   isfile(   t   f(    (    s6   /tmp/pip-unpacked-wheel-vZkhRb/tests/test_repofiles.pyt   <lambda>   t    (   t   allt   map(   t   selft   files(    (    s6   /tmp/pip-unpacked-wheel-vZkhRb/tests/test_repofiles.pyt	   _all_file   s    c         C   sA   t  t |  j |  j   } |  j t |  d d j |   d  S(   Ni    s   Files {} aren't found(   t   listt   filterR
   t   FILESt   assertEqualt   lent   format(   R   t   missing(    (    s6   /tmp/pip-unpacked-wheel-vZkhRb/tests/test_repofiles.pyt   test_file_existence    s    (   t   __name__t
   __module__R   R
   R   (    (    (    s6   /tmp/pip-unpacked-wheel-vZkhRb/tests/test_repofiles.pyR      s$   				(   t   unittestt   osR    t   TestCaseR   (    (    (    s6   /tmp/pip-unpacked-wheel-vZkhRb/tests/test_repofiles.pyt   <module>   s   