def setUpClass(cls):
     """
     SDK Register
     :return: None
     """
     cls.client = Client()
     cls.client.auth_register(cls.user_email, cls.user_password)
Beispiel #2
0
 def setUpClass(cls):
     """
     SDK Register, Login
     Create text file to upload
     :return: None
     """
     cls.client = Client()
     cls.client.auth_register(cls.user_email, cls.user_password)
     cls.client.auth_login(cls.user_email, cls.user_password)
     with open(cls.file_path, 'w') as tp:
         tp.write("this is a test text")