fix test_head.py to also mock linx_api_key
This commit is contained in:
@@ -36,6 +36,7 @@ class TestHead(unittest.TestCase):
|
|||||||
|
|
||||||
def test_snarfuri(self):
|
def test_snarfuri(self):
|
||||||
self.phenny.config.prefix = '.'
|
self.phenny.config.prefix = '.'
|
||||||
|
self.phenny.config.linx_api_key = ""
|
||||||
input = Mock(group=lambda x=0: 'http://google.com',
|
input = Mock(group=lambda x=0: 'http://google.com',
|
||||||
sender='#phenny')
|
sender='#phenny')
|
||||||
snarfuri(self.phenny, input)
|
snarfuri(self.phenny, input)
|
||||||
|
|||||||
Reference in New Issue
Block a user