s3transfer
s3transfer copied to clipboard
Stubbed test fail
I think I'm missing something, because there are a lot of problems with stubbed tests. Is there something that needs to be done before running the tests? I've not found anything in the doc:
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_for_callback_kwargs_correctness (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 404, in test_for_callback_kwargs_correctness self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_has_transfer_id_associated_to_future (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 375, in test_has_transfer_id_associated_to_future self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_invalid_extra_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 397, in test_invalid_extra_args self.method( File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 302, in method raise NotImplementedError('method is not implemented') NotImplementedError: method is not implemented
ERROR: test_returns_correct_call_args (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 360, in test_returns_correct_call_args self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
ERROR: test_returns_future_with_meta (tests.BaseGeneralInterfaceTest)
Traceback (most recent call last): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 349, in test_returns_future_with_meta self._setup_default_stubbed_responses() File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 345, in _setup_default_stubbed_responses for stubbed_response in self.create_stubbed_responses(): File "/builddir/build/BUILD/s3transfer-0.1.0/tests/init.py", line 322, in create_stubbed_responses 'create_stubbed_responses is not implemented') NotImplementedError: create_stubbed_responses is not implemented
Ran 1241 tests in 18.075s
FAILED (errors=50)
It looks like your test runner is trying to run tests that are not meant to be run. We set the __test__=False to make sure nose does not try to run them: https://github.com/boto/s3transfer/blob/develop/tests/init.py#L293
To run the tests, I would recommend running:
$./scripts/ci/install
$./scripts/ci/run-tests
These are essentially what the Travis job runs.
If you do not want to use the scripts, I would recommend you run:
pip install -r requirements-test.txt
to get all of the test dependencies and then use nose to run the tests.
Let me know if that helps.
What I do is
setup.py test
My guess is that it should work 'out of the box' and eventually set the __test__=False if needed
+1
setup.py test should always work, and can be done with tests_require and test_suite='nose.collector' as per nose setuptools integration documentation
We (FreeBSD and other downstream OS packagers) also use this standard/canonical test method to execute tests for QA'ing packages for our users. It would be great to also:
- Work by default (not run special purpose integration tests that fail?)
- Not require (in tests_require) non-compulsory packages (eg: tox, coverage, flake8 and other development packages)
- SKIP tests that fail to import packages required for optional functionality, not FAIL/ERROR
- Test the package in/from CWD, and not use installed data sources, versions of itself or anything else not provided with the package sdist