def setUp(self): self.api = osuapi.OsuApi( key=os.environ['OSU_API_KEY'], connector=osuapi.ReqConnector()) warnings.simplefilter("error")
def setUp(self): self.connector = osuapi.ReqConnector() self.server = multiprocessing.Process(target=run_504_server) self.server.daemon = True self.server.start()