Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2016-04-08 20:07:58,759 INFO Creating Box client
- ERROR
- ______________________________________________________ ERROR at setup of TestJWTBoxRecrawl.test_recrawl ______________________________________________________
- self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>, request = <SubRequest 'box_context' for <Function 'test_recrawl'>>
- @pytest.fixture(scope="function")
- def box_context(self, request):
- > 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)
- request = <SubRequest 'box_context' for <Function 'test_recrawl'>>
- self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>
- src/tests/connectors/plugin_tests/lucid.anda/box/test_recrawl_jwt_box.py:31:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>, box_client_id = '161sjp9tkrbqr6aicb71851hdmukntds'
- box_client_secret = 'YdAGNaxWPaK8WgLgDFJz4QcxpUAkkAUq', box_jwt_enterprise_id = '923165', box_jwt_public_key_id = 'bknh27bz'
- private_key_file_path = '/tmp/f7fa0357-e7d6-4dbe-a275-e6d35c146db7.pem', box_jwt_private_key_password = 'password'
- app_user = 'AppUser_221006_AALVDcyjVu@boxdevedition.com'
- 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):
- logger.info("Creating Box client")
- enterprise_auth = JWTAuth(
- client_id=box_client_id,
- client_secret=box_client_secret,
- jwt_key_id=box_jwt_public_key_id,
- enterprise_id=box_jwt_enterprise_id,
- rsa_private_key_file_sys_path=private_key_file_path,
- > rsa_private_key_passphrase=box_jwt_private_key_password
- )
- E TypeError: 'NoneType' object is not callable
- app_user = 'AppUser_221006_AALVDcyjVu@boxdevedition.com'
- box_client_id = '161sjp9tkrbqr6aicb71851hdmukntds'
- box_client_secret = 'YdAGNaxWPaK8WgLgDFJz4QcxpUAkkAUq'
- box_jwt_enterprise_id = '923165'
- box_jwt_private_key_password = 'password'
- box_jwt_public_key_id = 'bknh27bz'
- private_key_file_path = '/tmp/f7fa0357-e7d6-4dbe-a275-e6d35c146db7.pem'
- self = <test_recrawl_jwt_box.TestJWTBoxRecrawl object at 0x10ac41410>
- src/tests/connectors/plugin_tests/lucid.anda/box/box_test_base.py:109: TypeError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement