mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Web: Fix test of snarfing (Microsoft changes the title based on location of the computer).
This commit is contained in:
parent
918092a54d
commit
5f1d7cc097
@ -78,7 +78,7 @@ class WebTestCase(ChannelPluginTestCase):
|
|||||||
try:
|
try:
|
||||||
conf.supybot.plugins.Web.titleSnarfer.setValue(True)
|
conf.supybot.plugins.Web.titleSnarfer.setValue(True)
|
||||||
self.assertSnarfRegexp('http://microsoft.com/',
|
self.assertSnarfRegexp('http://microsoft.com/',
|
||||||
'Title: Microsoft Corporation')
|
'Title: Microsoft')
|
||||||
finally:
|
finally:
|
||||||
conf.supybot.plugins.Web.titleSnarfer.setValue(False)
|
conf.supybot.plugins.Web.titleSnarfer.setValue(False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user