Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stubbed test fail #41

Open
Fale opened this issue Aug 2, 2016 · 3 comments
Open

Stubbed test fail #41

Fale opened this issue Aug 2, 2016 · 3 comments

Comments

@Fale
Copy link

Fale commented Aug 2, 2016

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)

@kyleknap
Copy link
Member

kyleknap commented Aug 2, 2016

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.

@Fale
Copy link
Author

Fale commented Aug 3, 2016

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

@koobs
Copy link

koobs commented Aug 6, 2016

+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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants