Advertisement
Guest User

Untitled

a guest
Apr 10th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. 2016-04-08 20:07:58,759 INFO Creating Box client
  2. ERROR
  3. ______________________________________________________ ERROR at setup of TestJWTBoxRecrawl.test_recrawl ______________________________________________________
  4.  
  5. self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>, request = <SubRequest 'box_context' for <Function 'test_recrawl'>>
  6.  
  7. @pytest.fixture(scope="function")
  8. def box_context(self, request):
  9. > box_client = self.get_box_client(self.box_client_id, self.box_client_secret, self.box_jwt_enterprise_id, self.box_jwt_public_key_id, self.private_key_file_path, self.box_jwt_private_key_password, self.test_application_user)
  10.  
  11. request = <SubRequest 'box_context' for <Function 'test_recrawl'>>
  12. self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>
  13.  
  14. src/tests/connectors/plugin_tests/lucid.anda/box/test_recrawl_jwt_box.py:31:
  15. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  16.  
  17. self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>, box_client_id = '161sjp9tkrbqr6aicb71851hdmukntds'
  18. box_client_secret = 'YdAGNaxWPaK8WgLgDFJz4QcxpUAkkAUq', box_jwt_enterprise_id = '923165', box_jwt_public_key_id = 'bknh27bz'
  19. private_key_file_path = '/tmp/f7fa0357-e7d6-4dbe-a275-e6d35c146db7.pem', box_jwt_private_key_password = 'password'
  20. app_user = 'AppUser_221006_AALVDcyjVu@boxdevedition.com'
  21.  
  22. def get_box_client(self, box_client_id, box_client_secret, box_jwt_enterprise_id, box_jwt_public_key_id, private_key_file_path, box_jwt_private_key_password, app_user):
  23. logger.info("Creating Box client")
  24. enterprise_auth = JWTAuth(
  25. client_id=box_client_id,
  26. client_secret=box_client_secret,
  27. jwt_key_id=box_jwt_public_key_id,
  28. enterprise_id=box_jwt_enterprise_id,
  29. rsa_private_key_file_sys_path=private_key_file_path,
  30. > rsa_private_key_passphrase=box_jwt_private_key_password
  31. )
  32. E TypeError: 'NoneType' object is not callable
  33.  
  34. app_user = 'AppUser_221006_AALVDcyjVu@boxdevedition.com'
  35. box_client_id = '161sjp9tkrbqr6aicb71851hdmukntds'
  36. box_client_secret = 'YdAGNaxWPaK8WgLgDFJz4QcxpUAkkAUq'
  37. box_jwt_enterprise_id = '923165'
  38. box_jwt_private_key_password = 'password'
  39. box_jwt_public_key_id = 'bknh27bz'
  40. private_key_file_path = '/tmp/f7fa0357-e7d6-4dbe-a275-e6d35c146db7.pem'
  41. self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>
  42.  
  43. src/tests/connectors/plugin_tests/lucid.anda/box/box_test_base.py:109: TypeError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement