예제 #1
0
 def insertBL(
     self, insert
 ):  #Having difficulties in calling the function inputdb from db manager
     insert = self.inputBL.text()
     use = Dbmanager()
     use.inputdb(insert)  #Inserts the suspicious website to the database.
예제 #2
0
 def test_connection(self):
     clas = Dbmanager()
     clas.inputdb('www.google.com')
     self.assertTrue('connection = sqlite3.connect("urlData.db")')