def run_test(self):
     test = testmanager(self, self.options.tmpdir)
     test.add_all_connections(self.nodes)
     self.tip = none
     self.block_time = none
     networkthread().start()  # start up network handling in another thread
     test.run()
    def run_test(self):
        # set up the comparison tool testmanager
        test = testmanager(self, self.options.tmpdir)
        test.add_all_connections(self.nodes)

        # load scripts
        self.scripts = scripttestfile([script_valid_file, script_invalid_file])
        self.scripts.load_files()

        # some variables we re-use between test instances (to build blocks)
        self.tip = none
        self.block_time = none

        networkthread().start()  # start up network handling in another thread
        test.run()