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