Пример #1
0
 def testUploadAppSource(self):
     client = AppurifyClient(access_token="authenticated", app_src=__file__, app_src_type='raw', test_type='calabash', name="test_name")
     app_id = client.uploadApp()
     self.assertEqual(app_id, "test_app_id", "Should properly fetch web robot for app id")
Пример #2
0
 def testUploadAppNoSourceError(self):
     client = AppurifyClient(access_token="authenticated", app_src_type='raw', test_type='calabash')
     with self.assertRaises(AppurifyClientError):
         client.uploadApp()
Пример #3
0
 def testUploadAppNoSource(self):
     client = AppurifyClient(access_token="authenticated", test_type='ios_webrobot')
     app_id = client.uploadApp()
     self.assertEqual(app_id, "test_app_id", "Should properly fetch web robot for app id")