code: def execute_query(self, query, values):
          
          retval = self.cursor.execute(query, values)
          self.__close_db()
          return retval
docs: Executes a query to the test_db and closes the connection afterwards.