�
�t0^c @ s� d Z d d l Z d d l Z d d l Z d d l m Z d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d
e j f d � � YZ
e d k r� e j � n d S(
s Tests for josepy.util.i����N( t test_utilt ComparableX509Testc B sM e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s% Tests for josepy.util.ComparableX509.c C sp t j d � | _ t j d � | _ t j d � | _ t j d � | _ t j d � | _ t j d � | _ d S( Ns csr.pems csr-san.pems cert.pems cert-san.pem( R t load_comparable_csrt req1t req2t req_othert load_comparable_certt cert1t cert2t
cert_other( t self( ( s4 /usr/lib/python2.7/site-packages/josepy/util_test.pyt setUp
s c C s | j | j j � � d S( N( t
assertTrueR t has_expired( R
( ( s4 /usr/lib/python2.7/site-packages/josepy/util_test.pyt test_getattr_proxy s c C s0 | j | j | j � | j | j | j � d S( N( t assertEqualR R R R ( R
( ( s4 /usr/lib/python2.7/site-packages/josepy/util_test.pyt test_eq s c C s0 | j | j | j � | j | j | j � d S( N( t assertNotEqualR R R R ( R
( ( s4 /usr/lib/python2.7/site-packages/josepy/util_test.pyt test_ne s c C s* | j | j d � | j | j d � d S( Ni ( R R R ( R
( ( s4 /usr/lib/python2.7/site-packages/josepy/util_test.pyt test_ne_wrong_types"