shell bypass 403
�
?��cc @ s� d d l Z d d l Z d d l m Z e j d d e �Z d e j f d � � YZ d e j f d � � YZ d e j
f d
� � YZ d � Z e
d k r� e � n d S(
i����N( t test_supportt htmllibt
deprecatedt AnchorCollectorc B s# e Z d � Z d � Z d � Z RS( c O s# g | _ t j j | | | � d S( N( t _AnchorCollector__anchorsR t
HTMLParsert __init__( t selft argst kw( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR s c C s | j S( N( R ( R ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt get_anchor_info
s c G s | j j | � d S( N( R t append( R R ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt
anchor_bgn s ( t __name__t
__module__R R
R ( ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR s t
DeclCollectorc B s# e Z d � Z d � Z d � Z RS( c O s# g | _ t j j | | | � d S( N( t _DeclCollector__declsR R R ( R R R ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR s c C s | j S( N( R ( R ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt
get_decl_info s c C s | j j | � d S( N( R R ( R t data( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt unknown_decl s ( R
R R R R ( ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR s t HTMLParserTestCasec B s e Z d � Z d � Z RS( c C sR t t j � d d �} | j d � | j � | j | j � d d
d g � d S( Nt verbosei s� <a href='http://foo.org/' name='splat'> </a>
<a href='http://www.python.org/'> </a>
<a name='frob'> </a>
s http://foo.org/t splatt s http://www.python.org/t frob( s http://foo.org/R R ( s http://www.python.org/R R ( R R R ( R t formattert
NullFormattert feedt closet assertEqualR
( R t parser( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt test_anchor_collection s
c C sO t t j � d d �} | j d � | j � | j | j � d d g � d S( NR i s� <html>
<body>
hallo
<![if !supportEmptyParas]> <![endif]>
</body>
</html>
s if !supportEmptyParast endif( R R R R R R R ( R R ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt test_decl_collection/ s
( R
R R R! ( ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR s c C s t j t � d S( N( R t run_unittestR ( ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt test_main@ s t __main__( R t unittestt testR t
import_modulet TrueR R R R t TestCaseR R# R
( ( ( s8 /usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt <module> s !