def tearDownClass(cls):
     super().tearDownClass()
     constants.set_mainnet()
Beispiel #2
0
 def wrapper(self, *args, **kwargs):
     constants.set_testnet()
     try:
         return func(self, *args, **kwargs)
     finally:
         constants.set_mainnet()