ó
ìŠ'Gc           @   s9   d  d l  Z  d  d l m Z d e  j f d „  ƒ  YZ d S(   iÿÿÿÿN(   t   configt
   ConfigTestc           B   s}   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d	 „  Z d
 „  Z d „  Z d „  Z RS(   c         C   s   t  j d ƒ d  S(   Ns   tests/data/config/basic.ini(   R    t   load(   t   self(    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   setUp   s    c         C   s    |  j  d d g t j ƒ  ƒ d  S(   Ns   index.html.tmpls   atom.xml.tmpl(   t   assertEqualR    t   template_files(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_template   s    c         C   s0   t  j ƒ  } | j ƒ  |  j d d g | ƒ d  S(   Nt   feed1t   feed2(   R    t   subscriptionst   sortR   (   R   t   feeds(    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt
   test_feeds   s    
c         C   s0   |  j  d t j ƒ  ƒ |  j  d t j ƒ  ƒ d  S(   Ns   http://example.com/atom.xmlt   atom(   R   R    t   feedt   feedtype(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt	   test_feed   s    c         C   s   |  j  d t j ƒ  ƒ d  S(   Ns   Test Configuration(   R   R    t   name(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt	   test_name   s    c         C   s   |  j  d t j ƒ  ƒ d  S(   Ns   http://example.com/(   R   R    t   link(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt	   test_link   s    c         C   s6   |  j  d t j d ƒ ƒ |  j  d t j d ƒ ƒ d  S(   Ni   s   index.html.tmpli    s   atom.xml.tmpl(   R   R    t   days_per_page(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_days_per_page#   s    c         C   s6   |  j  d t j d ƒ ƒ |  j  d t j d ƒ ƒ d  S(   Ni2   s   index.html.tmpls   atom.xml.tmpl(   R   R    t   items_per_page(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_items_per_page'   s    c         C   s6   |  j  d t j d ƒ ƒ |  j  d t j d ƒ ƒ d  S(   Ns   utf-8s   index.html.tmpls   atom.xml.tmpl(   R   R    t   encoding(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_encoding+   s    c         C   s>   |  j  d t j d ƒ d ƒ |  j  d t j d ƒ d ƒ d  S(   Nt   oneR   R   t   twoR	   (   R   R    t   feed_options(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_feed_options1   s    c         C   s;   t  j d ƒ } |  j d | d ƒ |  j d | d ƒ d  S(   Ns   index.html.tmplt   7R   t   50R   (   R    t   template_optionsR   (   R   t   option(    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_template_options5   s    c         C   s?   |  j  d d g t j d ƒ ƒ |  j  d g t j d ƒ ƒ d  S(   Nt   foot   barR	   R   (   R   R    t   filters(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_filters:   s    c         C   s   |  j  d t j ƒ  ƒ d  S(   Ni   (   R   R    t   feed_timeout(   R   (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   test_timeout@   s    	(   t   __name__t
   __module__R   R   R   R   R   R   R   R   R   R   R$   R(   R*   (    (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyR      s   												(   t   unittestt   planetR    t   TestCaseR   (    (    (    sB   /home/sa3ruby/intertwingly.net/code/venus-bzr/tests/test_config.pyt   <module>   s   