def setUpClass(cls):
        # setup test environment
        cls.__client = config.api_client
        cls.__sessionList = None
        cls.__session = None

        Auth.enable()
示例#2
0
    def setUpClass(cls):
        # setup test environment
        cls.__client = config.api_client
        cls.__sessionList = None
        cls.__session = None

        Auth.enable()
示例#3
0
 def teardown(self):
     """ restore test environment """
     Auth.disable()
示例#4
0
 def setup(self):
     """setup test environment"""
     Auth.enable()
 def teardown(self):
     """ restore test environment """
     Auth.disable()
 def setup(self):
     """setup test environment"""
     Auth.enable()
 def tearDownClass(cls):
     # """ restore test environment """
     Auth.disable()
    def setUpClass(cls):
        cls.__client = config.api_client
        cls.__accounts = None

        # setup test environment
        Auth.enable()