#NEWLINE# def test_find_pingback_href( self ) : #NEWLINE# #INDENT# pinger = ExternalUrlsPinger ( self . entry , start_now = False ) #NEWLINE# result = pinger . find_pingback_href ( '' ) #NEWLINE# self . assertEqual ( result , None ) #NEWLINE# result = pinger . find_pingback_href ( '\n        <html><head><link rel="pingback" href="/xmlrpc/" /></head>\n        <body></body></html>\n        ' ) #NEWLINE# self . assertEqual ( result , '/xmlrpc/' ) #NEWLINE# result = pinger . find_pingback_href ( '\n        <html><head><LINK hrEF="/xmlrpc/" REL="PingBack" /></head>\n        <body></body></html>\n        ' ) #NEWLINE# self . assertEqual ( result , '/xmlrpc/' ) #NEWLINE# result = pinger . find_pingback_href ( '\n        <html><head><LINK REL="PingBack" /></head><body></body></html>\n        ' ) #NEWLINE# self . assertEqual ( result , None )