mirror of
https://github.com/captn3m0/hackertray.git
synced 2024-09-17 01:40:25 +00:00
15 lines
437 B
Python
15 lines
437 B
Python
|
import unittest
|
||
|
import os
|
||
|
|
||
|
from hackertray import Firefox
|
||
|
|
||
|
class ChromeTest(unittest.TestCase):
|
||
|
def runTest(self):
|
||
|
config_folder_path = os.getcwd()+'/test/'
|
||
|
data = Firefox.search([
|
||
|
"http://www.hckrnews.com/",
|
||
|
"http://www.google.com/",
|
||
|
"http://wiki.ubuntu.com/",
|
||
|
"http://invalid_url/"],
|
||
|
config_folder_path)
|
||
|
self.assertTrue(data == [True,True,True,False])
|