fix test_head.py to also mock linx_api_key

master
mutantmonkey 2012-12-05 15:17:25 -05:00
parent f8e2afbb9d
commit ac72cb5c1d
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class TestHead(unittest.TestCase):
def test_snarfuri(self):
self.phenny.config.prefix = '.'
self.phenny.config.linx_api_key = ""
input = Mock(group=lambda x=0: 'http://google.com',
sender='#phenny')
snarfuri(self.phenny, input)