Web: Fix test of snarfing (Microsoft changes the title based on location of the computer).

This commit is contained in:
Valentin Lorentz 2013-01-05 18:03:13 +01:00
parent 918092a54d
commit 5f1d7cc097

View File

@ -78,7 +78,7 @@ class WebTestCase(ChannelPluginTestCase):
try:
conf.supybot.plugins.Web.titleSnarfer.setValue(True)
self.assertSnarfRegexp('http://microsoft.com/',
'Title: Microsoft Corporation')
'Title: Microsoft')
finally:
conf.supybot.plugins.Web.titleSnarfer.setValue(False)