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.
def test_connection(self): clas = Dbmanager() clas.inputdb('www.google.com') self.assertTrue('connection = sqlite3.connect("urlData.db")')