Пример #1
0
    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()
Пример #7
0
 def tearDownClass(cls):
     # """ restore test environment """
     Auth.disable()
Пример #8
0
    def setUpClass(cls):
        cls.__client = config.api_client
        cls.__accounts = None

        # setup test environment
        Auth.enable()