示例#1
0
 def teardown(self):
     """ restore test environment """
     Auth.disable()
示例#2
0
 def tearDownClass(cls):
     """ restore test environment """
     Auth.disable()
示例#3
0
 def setup(self):
     """setup test environment"""
     Auth.enable()
示例#4
0
 def setUpClass(cls):
     """setup test environment"""
     cls.__client = config.api_client
     Auth.enable()
示例#5
0
 def teardown(self):
     """ restore test environment """
     Auth.disable()
示例#6
0
 def setup(self):
     """setup test environment"""
     Auth.enable()
示例#7
0
 def tearDownClass(cls):
     """ restore test environment """
     Auth.disable()
示例#8
0
 def setUpClass(cls):
     """setup test environment"""
     cls.__client = config.api_client
     Auth.enable()