2.49.0: test suite is using `nose` module and some `DeprecationWarning` and other warnings
kloczek opened this issue · comments
nose
is no longer maintained sand it should not t be used with python 3.x
https://nose.readthedocs.io/en/latest/
On migrate to pytest can be used nose2pytest
https://github.com/schollii/nose2pytest/
pytest output without installed nose
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-boto-2.49.0-10.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-boto-2.49.0-10.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
Using --randomly-seed=1055073547
rootdir: /home/tkloczko/rpmbuild/BUILD/boto-2.49.0
plugins: mock-3.6.1, cov-2.12.1, anyio-3.3.4, flaky-3.7.0, console-scripts-1.2.0, asyncio-0.16.0, freezegun-0.4.2, flake8-1.0.7, rerunfailures-9.1.1, yagot-0.5.0, forked-1.4.0, ordering-0.6, xdist-2.5.0, Faker-10.0.0, benchmark-3.4.1, pyfakefs-4.5.3, datadir-1.3.1, regressions-2.2.0, timeout-2.0.2, randomly-3.10.3, perf-0.10.1, trio-0.7.0, requests-mock-1.9.3, hypothesis-6.31.5, easy-server-0.8.0
collected 1350 items / 31 errors / 1319 selected
================================================================================== ERRORS ==================================================================================
_______________________________________________________________ ERROR collecting boto/manage/test_manage.py ________________________________________________________________
boto/manage/test_manage.py:6: in <module>
volume = Volume.create()
boto/manage/volume.py:99: in create
getter.get(cls, params)
boto/manage/volume.py:70: in get
self.get_region(params)
boto/manage/volume.py:40: in get_region
params['region'] = propget.get(prop, choices=boto.ec2.regions)
boto/manage/propget.py:23: in get
prompt = prop.verbose_name
E AttributeError: 'NoneType' object has no attribute 'verbose_name'
----------------------------------------------------------------------------- Captured stdout ------------------------------------------------------------------------------
--> Creating New Volume
_________________________________________________________________ ERROR collecting tests/db/test_lists.py __________________________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/db/test_lists.py", line 93
E print SimpleListModel.all().filter("strs !=", "Fizzle").get_query()
E ^
E SyntaxError: invalid syntax
_________________________________________________________________ ERROR collecting tests/db/test_query.py __________________________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/db/test_query.py", line 151
E print query.get_query()
E ^
E SyntaxError: invalid syntax
_________________________________________________________________ ERROR collecting tests/devpay/test_s3.py _________________________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/devpay/test_s3.py", line 41
E print '--- running S3Connection tests (DevPay) ---'
E ^
E SyntaxError: invalid syntax
________________________________________________________ ERROR collecting tests/integration/ec2/test_connection.py _________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/ec2/test_connection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/ec2/test_connection.py:33: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
___________________________________________________________ ERROR collecting tests/integration/gs/test_basic.py ____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/gs/test_basic.py:33: in <module>
import StringIO
E ModuleNotFoundError: No module named 'StringIO'
__________________________________________________ ERROR collecting tests/integration/gs/test_generation_conditionals.py ___________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_generation_conditionals.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/gs/test_generation_conditionals.py:26: in <module>
import StringIO
E ModuleNotFoundError: No module named 'StringIO'
____________________________________________________ ERROR collecting tests/integration/gs/test_resumable_downloads.py _____________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_resumable_downloads.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/gs/test_resumable_downloads.py:31: in <module>
from boto.s3.resumable_download_handler import get_cur_file_size
boto/s3/resumable_download_handler.py:22: in <module>
import httplib
E ModuleNotFoundError: No module named 'httplib'
_____________________________________________________ ERROR collecting tests/integration/gs/test_resumable_uploads.py ______________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_resumable_uploads.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/gs/test_resumable_uploads.py:26: in <module>
import StringIO
E ModuleNotFoundError: No module named 'StringIO'
________________________________________________________ ERROR collecting tests/integration/gs/test_storage_uri.py _________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_storage_uri.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/gs/test_storage_uri.py:28: in <module>
import StringIO
E ModuleNotFoundError: No module named 'StringIO'
_________________________________________________________ ERROR collecting tests/integration/gs/test_versioning.py _________________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
tests/integration/gs/test_versioning.py:30: in <module>
from tests.integration.gs.testcase import GSTestCase
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
tests/integration/gs/testcase.py:32: in <module>
from tests.integration.gs import util
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/util.py", line 78
E print msg
E ^
E SyntaxError: Missing parentheses in call to 'print'. Did you mean print(msg)?
______________________________________________________ ERROR collecting tests/integration/rds/test_db_subnet_group.py ______________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/rds/test_db_subnet_group.py", line 35
E print 'vpc_id is ',subnet_group.vpc_id, 'but should be ', vpc_id
E ^
E SyntaxError: Missing parentheses in call to 'print'. Did you mean print('vpc_id is ',subnet_group.vpc_id, 'but should be ', vpc_id)?
______________________________________________________ ERROR collecting tests/integration/rds/test_promote_modify.py _______________________________________________________
/usr/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
tree = ast.parse(source, filename=fn_)
/usr/lib64/python3.8/ast.py:47: in parse
return compile(source, filename, mode, flags,
E File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/rds/test_promote_modify.py", line 38
E print '--- running RDS promotion & renaming tests ---'
E ^
E SyntaxError: Missing parentheses in call to 'print'. Did you mean print('--- running RDS promotion & renaming tests ---')?
________________________________________________________ ERROR collecting tests/integration/redshift/test_layer1.py ________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/redshift/test_layer1.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/redshift/test_layer1.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
_______________________________________________ ERROR collecting tests/integration/route53/test_alias_resourcerecordsets.py ________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/test_alias_resourcerecordsets.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
___________________________________________________ ERROR collecting tests/integration/route53/test_cert_verification.py ___________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/test_cert_verification.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
_____________________________________________________ ERROR collecting tests/integration/route53/test_health_check.py ______________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/test_health_check.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
__________________________________________________ ERROR collecting tests/integration/route53/test_resourcerecordsets.py ___________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/test_resourcerecordsets.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
_________________________________________________________ ERROR collecting tests/integration/route53/test_zone.py __________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/test_zone.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
________________________________________________ ERROR collecting tests/integration/route53/domains/test_route53domains.py _________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/route53/domains/test_route53domains.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/route53/__init__.py:25: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
___________________________________________________ ERROR collecting tests/integration/s3/test_https_cert_validation.py ____________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/s3/test_https_cert_validation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/s3/test_https_cert_validation.py:43: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
____________________________________________________________ ERROR collecting tests/integration/s3/test_mfa.py _____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/s3/test_mfa.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/s3/test_mfa.py:30: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
_____________________________________________________________ ERROR collecting tests/mturk/create_hit_test.py ______________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/mturk/create_hit_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/mturk/create_hit_test.py:5: in <module>
from common import MTurkCommon
E ModuleNotFoundError: No module named 'common'
_____________________________________________________________ ERROR collecting tests/mturk/test_disable_hit.py _____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/mturk/test_disable_hit.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/mturk/test_disable_hit.py:3: in <module>
from common import MTurkCommon
E ModuleNotFoundError: No module named 'common'
______________________________________________________________ ERROR collecting tests/unit/test_endpoints.py _______________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/test_endpoints.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/test_endpoints.py:17: in <module>
from nose.tools import assert_equal
E ModuleNotFoundError: No module named 'nose'
______________________________________________________________ ERROR collecting tests/unit/auth/test_sigv4.py ______________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/auth/test_sigv4.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/auth/test_sigv4.py:27: in <module>
from nose.tools import assert_equal
E ModuleNotFoundError: No module named 'nose'
____________________________________________________________ ERROR collecting tests/unit/glacier/test_writer.py ____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_writer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/glacier/test_writer.py:32: in <module>
from nose.tools import assert_equal
E ModuleNotFoundError: No module named 'nose'
__________________________________________________________ ERROR collecting tests/unit/route53/test_connection.py __________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/route53/test_connection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/route53/test_connection.py:33: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
____________________________________________________________ ERROR collecting tests/unit/sqs/test_connection.py ____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/sqs/test_connection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/sqs/test_connection.py:35: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
_____________________________________________________________ ERROR collecting tests/unit/sqs/test_message.py ______________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/sqs/test_message.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/sqs/test_message.py:30: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
______________________________________________________________ ERROR collecting tests/unit/sqs/test_queue.py _______________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/sqs/test_queue.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/sqs/test_queue.py:27: in <module>
from nose.plugins.attrib import attr
E ModuleNotFoundError: No module named 'nose'
============================================================================= warnings summary =============================================================================
boto/plugin.py:40
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/plugin.py:40: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
boto/connection.py:672
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/connection.py:672: DeprecationWarning: invalid escape sequence \w
'(?:(?P<user>[\w\-\.]+):(?P<pass>.*)@)?'
boto/connection.py:673
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/connection.py:673: DeprecationWarning: invalid escape sequence \w
'(?P<host>[\w\-\.]+)'
boto/connection.py:674
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/connection.py:674: DeprecationWarning: invalid escape sequence \d
'(?::(?P<port>\d+))?'
boto/https_connection.py:80
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/https_connection.py:80: DeprecationWarning: invalid escape sequence \.
host_re = host.replace('.', '\.').replace('*', '[^.]*')
boto/sdb/db/property.py:265
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/property.py:265: DeprecationWarning: invalid escape sequence \/
validate_regex = "^s3:\/\/([^\/]*)\/(.*)$"
boto/sdb/db/test_db.py:22
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:22: PytestCollectionWarning: cannot collect test class 'TestBasic' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestBasic(Model):
boto/sdb/db/test_db.py:29
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:29: PytestCollectionWarning: cannot collect test class 'TestFloat' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestFloat(Model):
boto/sdb/db/test_db.py:34
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:34: PytestCollectionWarning: cannot collect test class 'TestRequired' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestRequired(Model):
boto/sdb/db/test_db.py:38
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:38: PytestCollectionWarning: cannot collect test class 'TestReference' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestReference(Model):
boto/sdb/db/test_db.py:42
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:42: PytestCollectionWarning: cannot collect test class 'TestSubClass' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestSubClass(TestBasic):
boto/sdb/db/test_db.py:46
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:46: PytestCollectionWarning: cannot collect test class 'TestPassword' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestPassword(Model):
boto/sdb/db/test_db.py:49
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:49: PytestCollectionWarning: cannot collect test class 'TestList' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestList(Model):
boto/sdb/db/test_db.py:54
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:54: PytestCollectionWarning: cannot collect test class 'TestMap' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestMap(Model):
boto/sdb/db/test_db.py:59
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:59: PytestCollectionWarning: cannot collect test class 'TestListReference' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestListReference(Model):
boto/sdb/db/test_db.py:64
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:64: PytestCollectionWarning: cannot collect test class 'TestAutoNow' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestAutoNow(Model):
boto/sdb/db/test_db.py:69
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:69: PytestCollectionWarning: cannot collect test class 'TestUnique' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestUnique(Model):
boto/cloudsearchdomain/layer1.py:79
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/cloudsearchdomain/layer1.py:79: DeprecationWarning: invalid escape sequence \`
"""
boto/dynamodb/types.py:30
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/dynamodb/types.py:30: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
boto/iam/connection.py:1114
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/iam/connection.py:1114: SyntaxWarning: "is" with a literal. Did you mean "=="?
if tld is 'default':
tests/integration/gs/test_basic.py:87
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:87: DeprecationWarning: invalid escape sequence \s
PROJECT_PRIVATE_RE = ('\s*<AccessControlList>\s*<Entries>\s*<Entry>'
tests/integration/gs/test_basic.py:88
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:88: DeprecationWarning: invalid escape sequence \s
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
tests/integration/gs/test_basic.py:89
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:89: DeprecationWarning: invalid escape sequence \s
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
tests/integration/gs/test_basic.py:90
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:90: DeprecationWarning: invalid escape sequence \s
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
tests/integration/gs/test_basic.py:91
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:91: DeprecationWarning: invalid escape sequence \s
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
tests/integration/gs/test_basic.py:92
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:92: DeprecationWarning: invalid escape sequence \s
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
tests/integration/gs/test_basic.py:93
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:93: DeprecationWarning: invalid escape sequence \s
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
tests/integration/gs/test_basic.py:94
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:94: DeprecationWarning: invalid escape sequence \s
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
tests/integration/gs/test_basic.py:95
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:95: DeprecationWarning: invalid escape sequence \s
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
tests/integration/gs/test_basic.py:96
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:96: DeprecationWarning: invalid escape sequence \s
'\s*<Permission>READ</Permission>\s*</Entry>\s*</Entries>'
tests/integration/gs/test_basic.py:97
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/integration/gs/test_basic.py:97: DeprecationWarning: invalid escape sequence \s
'\s*</AccessControlList>\s*')
boto/opsworks/layer1.py:2640
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/opsworks/layer1.py:2640: DeprecationWarning: invalid escape sequence \A
"""
boto/redshift/layer1.py:327
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/redshift/layer1.py:327: DeprecationWarning: invalid escape sequence \,
"""
boto/redshift/layer1.py:2164
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/redshift/layer1.py:2164: DeprecationWarning: invalid escape sequence \)
"""
boto/redshift/layer1.py:2264
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/redshift/layer1.py:2264: DeprecationWarning: invalid escape sequence \,
"""
tests/unit/test_endpoints.py:32
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/test_endpoints.py:32: DeprecationWarning: invalid escape sequence \-
'regionRegex': '^(us|eu)\-\w+$',
tests/unit/test_endpoints.py:95
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/test_endpoints.py:95: DeprecationWarning: invalid escape sequence \-
'regionRegex': '^(foo)\-\w+$',
tests/unit/test_regioninfo.py:33
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/test_regioninfo.py:33: PytestCollectionWarning: cannot collect test class 'TestRegionInfo' because it has a __init__ constructor (from: tests/unit/test_regioninfo.py)
class TestRegionInfo(object):
boto/cloudfront/distribution.py:512
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/cloudfront/distribution.py:512: DeprecationWarning: invalid escape sequence \*
"""
tests/unit/rds/test_connection.py:642
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/rds/test_connection.py:642: DeprecationWarning: invalid escape sequence \R
logfile_sample = """
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
ERROR boto/manage/test_manage.py - AttributeError: 'NoneType' object has no attribute 'verbose_name'
ERROR tests/db/test_lists.py
ERROR tests/db/test_query.py
ERROR tests/devpay/test_s3.py
ERROR tests/integration/ec2/test_connection.py
ERROR tests/integration/gs/test_basic.py
ERROR tests/integration/gs/test_generation_conditionals.py
ERROR tests/integration/gs/test_resumable_downloads.py
ERROR tests/integration/gs/test_resumable_uploads.py
ERROR tests/integration/gs/test_storage_uri.py
ERROR tests/integration/gs/test_versioning.py
ERROR tests/integration/rds/test_db_subnet_group.py
ERROR tests/integration/rds/test_promote_modify.py
ERROR tests/integration/redshift/test_layer1.py
ERROR tests/integration/route53/test_alias_resourcerecordsets.py
ERROR tests/integration/route53/test_cert_verification.py
ERROR tests/integration/route53/test_health_check.py
ERROR tests/integration/route53/test_resourcerecordsets.py
ERROR tests/integration/route53/test_zone.py
ERROR tests/integration/route53/domains/test_route53domains.py
ERROR tests/integration/s3/test_https_cert_validation.py
ERROR tests/integration/s3/test_mfa.py
ERROR tests/mturk/create_hit_test.py
ERROR tests/mturk/test_disable_hit.py
ERROR tests/unit/test_endpoints.py
ERROR tests/unit/auth/test_sigv4.py
ERROR tests/unit/glacier/test_writer.py
ERROR tests/unit/route53/test_connection.py
ERROR tests/unit/sqs/test_connection.py
ERROR tests/unit/sqs/test_message.py
ERROR tests/unit/sqs/test_queue.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 31 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================== 40 warnings, 31 errors in 5.79s ======================================================================
``
After ignore all files which are using nose
and all tests/integration test units still many units are failing
There are many warnings which indicates that test suite needs to be updated to be useable with latest pytest 6.x.
Another issue is that pytest is failing in random units when pytest-randomly
is used. Looks like in the test suite are some dependencies between units.
pytest-ransdonmly
extension is causing ttaht pytet is execution test unit in random order.
This may cause that pytest <file>.py::<test_uniot>
may show false result.
To diagnose that issue https://github.com/mrbean-bremen/pytest-find-dependencies/ can be used.
As temporary workaround can be used pytest -p no:randomly
can be used.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-boto-2.49.0-10.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-boto-2.49.0-10.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -p no:randomly --ignore boto/manage/test_manage.py --ignore tests/db/test_lists.py --ignore tests/db/test_query.py --ignore tests/devpay/test_s3.py --ignore tests/integration --ignore tests/mturk/create_hit_test.py --ignore tests/mturk/test_disable_hit.py --ignore tests/unit/auth/test_sigv4.py --ignore tests/unit/glacier/test_writer.py --ignore tests/unit/route53/test_connection.py --ignore tests/unit/sqs/test_connection.py --ignore tests/unit/sqs/test_message.py --ignore tests/unit/sqs/test_queue.py --ignore tests/unit/test_endpoints.py
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/boto-2.49.0
plugins: mock-3.6.1, cov-2.12.1, anyio-3.3.4, flaky-3.7.0, console-scripts-1.2.0, asyncio-0.16.0, freezegun-0.4.2, flake8-1.0.7, rerunfailures-9.1.1, yagot-0.5.0, forked-1.4.0, ordering-0.6, xdist-2.5.0, Faker-10.0.0, benchmark-3.4.1, pyfakefs-4.5.3, datadir-1.3.1, regressions-2.2.0, timeout-2.0.2, perf-0.10.1, trio-0.7.0, requests-mock-1.9.3, hypothesis-6.31.5, easy-server-0.8.0
collected 1109 items
boto/sdb/db/test_db.py FFFFFFFFFFF [ 0%]
tests/db/test_password.py FEFEFFE [ 1%]
tests/db/test_sequence.py ..FF.FF [ 1%]
tests/fps/test_verify_signature.py F [ 2%]
tests/unit/test_connect_to_region.py ................................................ [ 6%]
tests/unit/test_connection.py ......................... [ 8%]
tests/unit/test_exception.py ......... [ 9%]
tests/unit/test_regioninfo.py ........... [ 10%]
tests/unit/auth/test_stsanon.py ... [ 10%]
tests/unit/awslambda/test_awslambda.py .... [ 11%]
tests/unit/beanstalk/test_exception.py . [ 11%]
tests/unit/beanstalk/test_layer1.py .... [ 11%]
tests/unit/cloudformation/test_connection.py ....................... [ 13%]
tests/unit/cloudformation/test_stack.py ......... [ 14%]
tests/unit/cloudfront/test_connection.py ..... [ 14%]
tests/unit/cloudfront/test_distribution.py . [ 14%]
tests/unit/cloudfront/test_invalidation.py . [ 15%]
tests/unit/cloudfront/test_invalidation_list.py .. [ 15%]
tests/unit/cloudfront/test_signed_urls.py F......FFFFFFFFFF [ 16%]
tests/unit/cloudsearch/test_connection.py ......... [ 17%]
tests/unit/cloudsearch/test_document.py ................ [ 19%]
tests/unit/cloudsearch/test_exceptions.py .. [ 19%]
tests/unit/cloudsearch/test_search.py ............................ [ 21%]
tests/unit/cloudsearch2/test_connection.py ......... [ 22%]
tests/unit/cloudsearch2/test_document.py ................. [ 24%]
tests/unit/cloudsearch2/test_exceptions.py .. [ 24%]
tests/unit/cloudsearch2/test_search.py .......................... [ 26%]
tests/unit/cloudsearchdomain/test_cloudsearchdomain.py ..... [ 27%]
tests/unit/cloudtrail/test_layer1.py ... [ 27%]
tests/unit/directconnect/test_layer1.py . [ 27%]
tests/unit/dynamodb/test_batch.py ... [ 27%]
tests/unit/dynamodb/test_layer2.py ........ [ 28%]
tests/unit/dynamodb/test_types.py ......s...s. [ 29%]
tests/unit/dynamodb2/test_layer1.py .. [ 29%]
tests/unit/dynamodb2/test_table.py .................................................................................................................... [ 40%]
tests/unit/ec2/test_address.py ............ [ 41%]
tests/unit/ec2/test_attribute.py . [ 41%]
tests/unit/ec2/test_blockdevicemapping.py ............. [ 42%]
tests/unit/ec2/test_connection.py ............................................................ [ 47%]
tests/unit/ec2/test_ec2object.py ........ [ 48%]
tests/unit/ec2/test_instance.py ... [ 48%]
tests/unit/ec2/test_instancestatus.py .. [ 49%]
tests/unit/ec2/test_instancetype.py . [ 49%]
tests/unit/ec2/test_networkinterface.py ........... [ 50%]
tests/unit/ec2/test_reservedinstance.py . [ 50%]
tests/unit/ec2/test_securitygroup.py ... [ 50%]
tests/unit/ec2/test_snapshot.py . [ 50%]
tests/unit/ec2/test_spotinstance.py .. [ 50%]
tests/unit/ec2/test_volume.py .................................. [ 53%]
tests/unit/ec2/autoscale/test_group.py .......................... [ 56%]
tests/unit/ec2/cloudwatch/test_connection.py . [ 56%]
tests/unit/ec2/elb/test_attribute.py ........ [ 56%]
tests/unit/ec2/elb/test_listener.py ... [ 57%]
tests/unit/ec2/elb/test_loadbalancer.py .... [ 57%]
tests/unit/ec2containerservice/test_connection.py . [ 57%]
tests/unit/ecs/test_connection.py F [ 57%]
tests/unit/elasticache/test_api_interface.py . [ 57%]
tests/unit/emr/test_connection.py ......................F. [ 60%]
tests/unit/emr/test_emr_responses.py .. [ 60%]
tests/unit/emr/test_instance_group_args.py ..... [ 60%]
tests/unit/glacier/test_concurrent.py ........ [ 61%]
tests/unit/glacier/test_job.py .... [ 61%]
tests/unit/glacier/test_layer1.py ......... [ 62%]
tests/unit/glacier/test_layer2.py .................. [ 64%]
tests/unit/glacier/test_response.py . [ 64%]
tests/unit/glacier/test_utils.py ............s.. [ 65%]
tests/unit/glacier/test_vault.py ....... [ 66%]
tests/unit/iam/test_connection.py ................... [ 67%]
tests/unit/iam/test_policy.py ................ [ 69%]
tests/unit/kinesis/test_kinesis.py ... [ 69%]
tests/unit/kms/test_kms.py ... [ 69%]
tests/unit/logs/test_layer1.py . [ 70%]
tests/unit/machinelearning/test_machinelearning.py .. [ 70%]
tests/unit/manage/test_ssh.py s [ 70%]
tests/unit/mturk/test_connection.py . [ 70%]
tests/unit/mturk/test_locale_qualification_in.py .. [ 70%]
tests/unit/mturk/test_locale_qualification_notin.py .. [ 70%]
tests/unit/mturk/test_qualification_doesnotexist.py . [ 70%]
tests/unit/mturk/test_qualification_exists.py . [ 70%]
tests/unit/mturk/test_qualification_qualtypewithscore_in.py . [ 71%]
tests/unit/mws/test_connection.py ........ [ 71%]
tests/unit/mws/test_response.py ......... [ 72%]
tests/unit/provider/test_provider.py ....................... [ 74%]
tests/unit/pyami/test_config.py ... [ 74%]
tests/unit/rds/test_connection.py ............. [ 76%]
tests/unit/rds/test_snapshot.py ..... [ 76%]
tests/unit/rds2/test_connection.py . [ 76%]
tests/unit/route53/test_zone.py . [ 76%]
tests/unit/s3/test_bucket.py ............. [ 77%]
tests/unit/s3/test_bucketlistresultset.py .. [ 78%]
tests/unit/s3/test_connection.py ................. [ 79%]
tests/unit/s3/test_cors_configuration.py ... [ 79%]
tests/unit/s3/test_key.py ............. [ 81%]
tests/unit/s3/test_keyfile.py ....... [ 81%]
tests/unit/s3/test_lifecycle.py ..................... [ 83%]
tests/unit/s3/test_tagging.py .. [ 83%]
tests/unit/s3/test_uri.py ............. [ 84%]
tests/unit/s3/test_website.py ......... [ 85%]
tests/unit/ses/test_identity.py ..... [ 86%]
tests/unit/sns/test_connection.py ............. [ 87%]
tests/unit/sts/test_connection.py ..... [ 87%]
tests/unit/sts/test_credentials.py . [ 87%]
tests/unit/swf/test_layer1_decisions.py . [ 88%]
tests/unit/swf/test_layer2_actors.py ..... [ 88%]
tests/unit/swf/test_layer2_base.py . [ 88%]
tests/unit/swf/test_layer2_domain.py .... [ 88%]
tests/unit/swf/test_layer2_types.py ... [ 89%]
tests/unit/utils/test_utils.py s.F.F...................................... [ 93%]
tests/unit/vpc/test_customergateway.py ... [ 93%]
tests/unit/vpc/test_dhcpoptions.py .... [ 93%]
tests/unit/vpc/test_internetgateway.py ..... [ 94%]
tests/unit/vpc/test_natgateway.py ... [ 94%]
tests/unit/vpc/test_networkacl.py ........... [ 95%]
tests/unit/vpc/test_routetable.py ................ [ 96%]
tests/unit/vpc/test_subnet.py .... [ 97%]
tests/unit/vpc/test_vpc.py ............. [ 98%]
tests/unit/vpc/test_vpc_peering_connection.py ...... [ 98%]
tests/unit/vpc/test_vpnconnection.py ..... [ 99%]
tests/unit/vpc/test_vpngateway.py ....... [100%]
================================================================================== ERRORS ==================================================================================
_______________________________________________ ERROR at teardown of PasswordPropertyTest.test_aaa_default_password_property _______________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_aaa_default_password_property>
def tearDown(self):
cls=self.test_model()
> for obj in cls.all(): obj.delete()
tests/db/test_password.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/model.py:104: in all
return cls.find(limit=limit, next_token=next_token)
boto/sdb/db/model.py:97: in find
q = Query(cls, limit=limit, next_token=next_token)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <boto.sdb.db.query.Query object at 0x7f9a08a525e0>, model_class = <class 'test_password.PasswordPropertyTest.test_model.<locals>.MyModel'>, limit = None
next_token = None, manager = None
def __init__(self, model_class, limit=None, next_token=None, manager=None):
self.model_class = model_class
self.limit = limit
self.offset = 0
if manager:
self.manager = manager
else:
> self.manager = self.model_class._manager
E AttributeError: type object 'MyModel' has no attribute '_manager'
boto/sdb/db/query.py:32: AttributeError
___________________________________________________ ERROR at teardown of PasswordPropertyTest.test_custom_password_class ___________________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_custom_password_class>
def tearDown(self):
cls=self.test_model()
> for obj in cls.all(): obj.delete()
tests/db/test_password.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/model.py:104: in all
return cls.find(limit=limit, next_token=next_token)
boto/sdb/db/model.py:97: in find
q = Query(cls, limit=limit, next_token=next_token)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <boto.sdb.db.query.Query object at 0x7f9a0703a520>, model_class = <class 'test_password.PasswordPropertyTest.test_model.<locals>.MyModel'>, limit = None
next_token = None, manager = None
def __init__(self, model_class, limit=None, next_token=None, manager=None):
self.model_class = model_class
self.limit = limit
self.offset = 0
if manager:
self.manager = manager
else:
> self.manager = self.model_class._manager
E AttributeError: type object 'MyModel' has no attribute '_manager'
boto/sdb/db/query.py:32: AttributeError
_______________________________________________ ERROR at teardown of PasswordPropertyTest.test_password_constructor_hashfunc _______________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_password_constructor_hashfunc>
def tearDown(self):
cls=self.test_model()
> for obj in cls.all(): obj.delete()
tests/db/test_password.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/model.py:104: in all
return cls.find(limit=limit, next_token=next_token)
boto/sdb/db/model.py:97: in find
q = Query(cls, limit=limit, next_token=next_token)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <boto.sdb.db.query.Query object at 0x7f9a0715e820>, model_class = <class 'test_password.PasswordPropertyTest.test_model.<locals>.MyModel'>, limit = None
next_token = None, manager = None
def __init__(self, model_class, limit=None, next_token=None, manager=None):
self.model_class = model_class
self.limit = limit
self.offset = 0
if manager:
self.manager = manager
else:
> self.manager = self.model_class._manager
E AttributeError: type object 'MyModel' has no attribute '_manager'
boto/sdb/db/query.py:32: AttributeError
================================================================================= FAILURES =================================================================================
________________________________________________________________________________ test_basic ________________________________________________________________________________
def test_basic():
global _objects
> t = TestBasic()
boto/sdb/db/test_db.py:74:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestBasic<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a08af4250>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
________________________________________________________________________________ test_float ________________________________________________________________________________
def test_float():
global _objects
> t = TestFloat()
boto/sdb/db/test_db.py:98:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestFloat<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a0893c280>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
______________________________________________________________________________ test_required _______________________________________________________________________________
def test_required():
global _objects
> t = TestRequired()
boto/sdb/db/test_db.py:115:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestRequired<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a088f2a60>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
______________________________________________________________________________ test_reference ______________________________________________________________________________
t = None
def test_reference(t=None):
global _objects
if not t:
> t = test_basic()
boto/sdb/db/test_db.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/test_db.py:74: in test_basic
t = TestBasic()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestBasic<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a08af4250>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
______________________________________________________________________________ test_subclass _______________________________________________________________________________
def test_subclass():
global _objects
> t = TestSubClass()
boto/sdb/db/test_db.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestSubClass<None>, id = None, kw = {}, prop = <boto.sdb.db.property.IntegerProperty object at 0x7f9a088f2a30>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
______________________________________________________________________________ test_password _______________________________________________________________________________
def test_password():
global _objects
> t = TestPassword()
boto/sdb/db/test_db.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestPassword<None>, id = None, kw = {}, prop = <boto.sdb.db.property.PasswordProperty object at 0x7f9a088f29d0>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
________________________________________________________________________________ test_list _________________________________________________________________________________
def test_list():
global _objects
> t = TestList()
boto/sdb/db/test_db.py:159:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestList<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a088f2b20>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
___________________________________________________________________________ test_list_reference ____________________________________________________________________________
def test_list_reference():
global _objects
> t = TestBasic()
boto/sdb/db/test_db.py:172:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestBasic<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a08af4250>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
_______________________________________________________________________________ test_unique ________________________________________________________________________________
def test_unique():
global _objects
> t = TestUnique()
boto/sdb/db/test_db.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestUnique<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a088f2f10>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
______________________________________________________________________________ test_datetime _______________________________________________________________________________
def test_datetime():
global _objects
> t = TestAutoNow()
boto/sdb/db/test_db.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestAutoNow<None>, id = None, kw = {}, prop = <boto.sdb.db.property.DateTimeProperty object at 0x7f9a088f2c10>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
___________________________________________________________________________________ test ___________________________________________________________________________________
def test():
log.info('test_basic')
> t1 = test_basic()
boto/sdb/db/test_db.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/test_db.py:74: in test_basic
t = TestBasic()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TestBasic<None>, id = None, kw = {}, prop = <boto.sdb.db.property.StringProperty object at 0x7f9a08af4250>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
INFO test_db:test_db.py:211 test_basic
_________________________________________________________ PasswordPropertyTest.test_aaa_default_password_property __________________________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_aaa_default_password_property>
def test_aaa_default_password_property(self):
cls = self.test_model()
> obj = cls(id='passwordtest')
tests/db/test_password.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = MyModel<None>, id = 'passwordtest', kw = {}, prop = <boto.sdb.db.property.PasswordProperty object at 0x7f9a08a52a90>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
_____________________________________________________________ PasswordPropertyTest.test_custom_password_class ______________________________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_custom_password_class>
def test_custom_password_class(self):
from boto.utils import Password
from boto.sdb.db.model import Model
from boto.sdb.db.property import PasswordProperty
import hmac, hashlib
myhashfunc = hashlib.md5
## Define a new Password class
class MyPassword(Password):
hashfunc = myhashfunc #hashlib.md5 #lambda cls,msg: hmac.new('mysecret',msg)
## Define a custom password property using the new Password class
class MyPasswordProperty(PasswordProperty):
data_type=MyPassword
type_name=MyPassword.__name__
## Define a model using the new password property
class MyModel(Model):
password=MyPasswordProperty()#hashfunc=hashlib.md5)
> obj = MyModel()
tests/db/test_password.py:75:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = MyModel<None>, id = None, kw = {}, prop = <test_password.PasswordPropertyTest.test_custom_password_class.<locals>.MyPasswordProperty object at 0x7f9a0703a550>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
_____________________________________________________________________ PasswordPropertyTest.test_model ______________________________________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_model>
def tearDown(self):
cls=self.test_model()
> for obj in cls.all(): obj.delete()
tests/db/test_password.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/model.py:104: in all
return cls.find(limit=limit, next_token=next_token)
boto/sdb/db/model.py:97: in find
q = Query(cls, limit=limit, next_token=next_token)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <boto.sdb.db.query.Query object at 0x7f9a07006730>, model_class = <class 'test_password.PasswordPropertyTest.test_model.<locals>.MyModel'>, limit = None
next_token = None, manager = None
def __init__(self, model_class, limit=None, next_token=None, manager=None):
self.model_class = model_class
self.limit = limit
self.offset = 0
if manager:
self.manager = manager
else:
> self.manager = self.model_class._manager
E AttributeError: type object 'MyModel' has no attribute '_manager'
boto/sdb/db/query.py:32: AttributeError
_________________________________________________________ PasswordPropertyTest.test_password_constructor_hashfunc __________________________________________________________
self = <test_password.PasswordPropertyTest testMethod=test_password_constructor_hashfunc>
def test_password_constructor_hashfunc(self):
import hmac
myhashfunc=lambda msg: hmac.new('mysecret', msg)
cls = self.test_model(hashfunc=myhashfunc)
> obj = cls()
tests/db/test_password.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = MyModel<None>, id = None, kw = {}, prop = <boto.sdb.db.property.PasswordProperty object at 0x7f9a0715eb50>
def __init__(self, id=None, **kw):
self._loaded = False
# first try to initialize all properties to their default values
for prop in self.properties(hidden=False):
try:
> setattr(self, prop.name, prop.default_value())
E TypeError: attribute name must be string, not 'NoneType'
boto/sdb/db/model.py:158: TypeError
__________________________________________________________________ TestDBHandler.test_sequence_simple_int __________________________________________________________________
self = <test_sequence.TestDBHandler object at 0x7f9a07115790>
def test_sequence_simple_int(self):
"""Test a simple counter sequence"""
from boto.sdb.db.sequence import Sequence
> s = Sequence()
tests/db/test_sequence.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/sequence.py:153: in __init__
if not self.val:
boto/sdb/db/sequence.py:179: in get
val = self.db.get_attributes(self.id, consistent_read=True)
boto/sdb/db/sequence.py:204: in _connect
sdb = boto.connect_sdb()
boto/__init__.py:240: in connect_sdb
return SDBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
boto/sdb/connection.py:114: in __init__
super(SDBConnection, self).__init__(aws_access_key_id,
boto/connection.py:1091: in __init__
super(AWSQueryConnection, self).__init__(
boto/connection.py:568: in __init__
self._auth_handler = auth.get_auth_handler(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
host = 'sdb.amazonaws.com', config = <boto.pyami.config.Config object at 0x7f9a08a09220>, provider = <boto.provider.Provider object at 0x7f9a07115f70>
requested_capability = ['sdb']
def get_auth_handler(host, config, provider, requested_capability=None):
"""Finds an AuthHandler that is ready to authenticate.
Lists through all the registered AuthHandlers to find one that is willing
to handle for the requested capabilities, config and provider.
:type host: string
:param host: The name of the host
:type config:
:param config:
:type provider:
:param provider:
Returns:
An implementation of AuthHandler.
Raises:
boto.exception.NoAuthHandlerFound
"""
ready_handlers = []
auth_handlers = boto.plugin.get_plugin(AuthHandler, requested_capability)
for handler in auth_handlers:
try:
ready_handlers.append(handler(host, config, provider))
except boto.auth_handler.NotReadyToAuthenticate:
pass
if not ready_handlers:
checked_handlers = auth_handlers
names = [handler.__name__ for handler in checked_handlers]
> raise boto.exception.NoAuthHandlerFound(
'No handler was ready to authenticate. %d handlers were checked.'
' %s '
'Check your credentials' % (len(names), str(names)))
E boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
boto/auth.py:1018: NoAuthHandlerFound
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR boto:utils.py:230 Caught exception reading instance data
Traceback (most recent call last):
File "/usr/lib64/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib64/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib64/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib64/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/utils.py", line 217, in retry_url
r = opener.open(req, timeout=timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
ERROR boto:utils.py:236 Unable to read instance data, giving up
________________________________________________________________ TestDBHandler.test_sequence_simple_string _________________________________________________________________
self = <test_sequence.TestDBHandler object at 0x7f9a06e6fa90>
def test_sequence_simple_string(self):
from boto.sdb.db.sequence import Sequence, increment_string
> s = Sequence(fnc=increment_string)
tests/db/test_sequence.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/sequence.py:153: in __init__
if not self.val:
boto/sdb/db/sequence.py:179: in get
val = self.db.get_attributes(self.id, consistent_read=True)
boto/sdb/db/sequence.py:204: in _connect
sdb = boto.connect_sdb()
boto/__init__.py:240: in connect_sdb
return SDBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
boto/sdb/connection.py:114: in __init__
super(SDBConnection, self).__init__(aws_access_key_id,
boto/connection.py:1091: in __init__
super(AWSQueryConnection, self).__init__(
boto/connection.py:568: in __init__
self._auth_handler = auth.get_auth_handler(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
host = 'sdb.amazonaws.com', config = <boto.pyami.config.Config object at 0x7f9a08a09220>, provider = <boto.provider.Provider object at 0x7f9a06e6f910>
requested_capability = ['sdb']
def get_auth_handler(host, config, provider, requested_capability=None):
"""Finds an AuthHandler that is ready to authenticate.
Lists through all the registered AuthHandlers to find one that is willing
to handle for the requested capabilities, config and provider.
:type host: string
:param host: The name of the host
:type config:
:param config:
:type provider:
:param provider:
Returns:
An implementation of AuthHandler.
Raises:
boto.exception.NoAuthHandlerFound
"""
ready_handlers = []
auth_handlers = boto.plugin.get_plugin(AuthHandler, requested_capability)
for handler in auth_handlers:
try:
ready_handlers.append(handler(host, config, provider))
except boto.auth_handler.NotReadyToAuthenticate:
pass
if not ready_handlers:
checked_handlers = auth_handlers
names = [handler.__name__ for handler in checked_handlers]
> raise boto.exception.NoAuthHandlerFound(
'No handler was ready to authenticate. %d handlers were checked.'
' %s '
'Check your credentials' % (len(names), str(names)))
E boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
boto/auth.py:1018: NoAuthHandlerFound
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR boto:utils.py:230 Caught exception reading instance data
Traceback (most recent call last):
File "/usr/lib64/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib64/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib64/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib64/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/utils.py", line 217, in retry_url
r = opener.open(req, timeout=timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
ERROR boto:utils.py:236 Unable to read instance data, giving up
_____________________________________________________________________ TestDBHandler.test_sequence_fib ______________________________________________________________________
self = <test_sequence.TestDBHandler object at 0x7f9a06ecf970>
def test_sequence_fib(self):
"""Test the fibonacci sequence"""
from boto.sdb.db.sequence import Sequence, fib
> s = Sequence(fnc=fib)
tests/db/test_sequence.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/sequence.py:153: in __init__
if not self.val:
boto/sdb/db/sequence.py:179: in get
val = self.db.get_attributes(self.id, consistent_read=True)
boto/sdb/db/sequence.py:204: in _connect
sdb = boto.connect_sdb()
boto/__init__.py:240: in connect_sdb
return SDBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
boto/sdb/connection.py:114: in __init__
super(SDBConnection, self).__init__(aws_access_key_id,
boto/connection.py:1091: in __init__
super(AWSQueryConnection, self).__init__(
boto/connection.py:568: in __init__
self._auth_handler = auth.get_auth_handler(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
host = 'sdb.amazonaws.com', config = <boto.pyami.config.Config object at 0x7f9a08a09220>, provider = <boto.provider.Provider object at 0x7f9a06ecf550>
requested_capability = ['sdb']
def get_auth_handler(host, config, provider, requested_capability=None):
"""Finds an AuthHandler that is ready to authenticate.
Lists through all the registered AuthHandlers to find one that is willing
to handle for the requested capabilities, config and provider.
:type host: string
:param host: The name of the host
:type config:
:param config:
:type provider:
:param provider:
Returns:
An implementation of AuthHandler.
Raises:
boto.exception.NoAuthHandlerFound
"""
ready_handlers = []
auth_handlers = boto.plugin.get_plugin(AuthHandler, requested_capability)
for handler in auth_handlers:
try:
ready_handlers.append(handler(host, config, provider))
except boto.auth_handler.NotReadyToAuthenticate:
pass
if not ready_handlers:
checked_handlers = auth_handlers
names = [handler.__name__ for handler in checked_handlers]
> raise boto.exception.NoAuthHandlerFound(
'No handler was ready to authenticate. %d handlers were checked.'
' %s '
'Check your credentials' % (len(names), str(names)))
E boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
boto/auth.py:1018: NoAuthHandlerFound
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR boto:utils.py:230 Caught exception reading instance data
Traceback (most recent call last):
File "/usr/lib64/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib64/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib64/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib64/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/utils.py", line 217, in retry_url
r = opener.open(req, timeout=timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
ERROR boto:utils.py:236 Unable to read instance data, giving up
____________________________________________________________________ TestDBHandler.test_sequence_string ____________________________________________________________________
self = <test_sequence.TestDBHandler object at 0x7f9a071623a0>
def test_sequence_string(self):
"""Test the String incrementation sequence"""
from boto.sdb.db.sequence import Sequence, increment_string
> s = Sequence(fnc=increment_string)
tests/db/test_sequence.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/sdb/db/sequence.py:153: in __init__
if not self.val:
boto/sdb/db/sequence.py:179: in get
val = self.db.get_attributes(self.id, consistent_read=True)
boto/sdb/db/sequence.py:204: in _connect
sdb = boto.connect_sdb()
boto/__init__.py:240: in connect_sdb
return SDBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
boto/sdb/connection.py:114: in __init__
super(SDBConnection, self).__init__(aws_access_key_id,
boto/connection.py:1091: in __init__
super(AWSQueryConnection, self).__init__(
boto/connection.py:568: in __init__
self._auth_handler = auth.get_auth_handler(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
host = 'sdb.amazonaws.com', config = <boto.pyami.config.Config object at 0x7f9a08a09220>, provider = <boto.provider.Provider object at 0x7f9a07162640>
requested_capability = ['sdb']
def get_auth_handler(host, config, provider, requested_capability=None):
"""Finds an AuthHandler that is ready to authenticate.
Lists through all the registered AuthHandlers to find one that is willing
to handle for the requested capabilities, config and provider.
:type host: string
:param host: The name of the host
:type config:
:param config:
:type provider:
:param provider:
Returns:
An implementation of AuthHandler.
Raises:
boto.exception.NoAuthHandlerFound
"""
ready_handlers = []
auth_handlers = boto.plugin.get_plugin(AuthHandler, requested_capability)
for handler in auth_handlers:
try:
ready_handlers.append(handler(host, config, provider))
except boto.auth_handler.NotReadyToAuthenticate:
pass
if not ready_handlers:
checked_handlers = auth_handlers
names = [handler.__name__ for handler in checked_handlers]
> raise boto.exception.NoAuthHandlerFound(
'No handler was ready to authenticate. %d handlers were checked.'
' %s '
'Check your credentials' % (len(names), str(names)))
E boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
boto/auth.py:1018: NoAuthHandlerFound
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR boto:utils.py:230 Caught exception reading instance data
Traceback (most recent call last):
File "/usr/lib64/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib64/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib64/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib64/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/utils.py", line 217, in retry_url
r = opener.open(req, timeout=timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
ERROR boto:utils.py:236 Unable to read instance data, giving up
___________________________________________________________________________________ test ___________________________________________________________________________________
def test():
> conn = FPSConnection()
tests/fps/test_verify_signature.py:4:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/fps/connection.py:112: in __init__
super(FPSConnection, self).__init__(*args, **kw)
boto/connection.py:1091: in __init__
super(AWSQueryConnection, self).__init__(
boto/connection.py:568: in __init__
self._auth_handler = auth.get_auth_handler(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
host = 'fps.sandbox.amazonaws.com', config = <boto.pyami.config.Config object at 0x7f9a08a09220>, provider = <boto.provider.Provider object at 0x7f9a0709bcd0>
requested_capability = ['fps']
def get_auth_handler(host, config, provider, requested_capability=None):
"""Finds an AuthHandler that is ready to authenticate.
Lists through all the registered AuthHandlers to find one that is willing
to handle for the requested capabilities, config and provider.
:type host: string
:param host: The name of the host
:type config:
:param config:
:type provider:
:param provider:
Returns:
An implementation of AuthHandler.
Raises:
boto.exception.NoAuthHandlerFound
"""
ready_handlers = []
auth_handlers = boto.plugin.get_plugin(AuthHandler, requested_capability)
for handler in auth_handlers:
try:
ready_handlers.append(handler(host, config, provider))
except boto.auth_handler.NotReadyToAuthenticate:
pass
if not ready_handlers:
checked_handlers = auth_handlers
names = [handler.__name__ for handler in checked_handlers]
> raise boto.exception.NoAuthHandlerFound(
'No handler was ready to authenticate. %d handlers were checked.'
' %s '
'Check your credentials' % (len(names), str(names)))
E boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
boto/auth.py:1018: NoAuthHandlerFound
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR boto:utils.py:230 Caught exception reading instance data
Traceback (most recent call last):
File "/usr/lib64/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib64/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib64/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib64/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/utils.py", line 217, in retry_url
r = opener.open(req, timeout=timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
ERROR boto:utils.py:236 Unable to read instance data, giving up
_______________________________________________________________ CloudfrontSignedUrlsTest.test_canned_policy ________________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_canned_policy>
def test_canned_policy(self):
"""
Generate signed url from the Example Canned Policy in Amazon's
documentation.
"""
url = "http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes"
expire_time = 1258237200
expected_url = "http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes&Expires=1258237200&Signature=Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDNv0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6tdNx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5jt9w2EOwi6sIIqrg_&Key-Pair-Id=PK123456789754"
> signed_url = self.dist.create_signed_url(
url, self.pk_id, expire_time, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:564: in create_signed_url
params = self._create_signing_params(
boto/cloudfront/distribution.py:609: in _create_signing_params
signature = self._sign_string(policy, private_key_file, private_key_string)
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{"Statement":[{"Resource":"http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes","Condition":{"DateLessThan":{"AWS:EpochTime":1258237200}}}]}'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
___________________________________________________________ CloudfrontSignedUrlsTest.test_encode_custom_policy_1 ___________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_encode_custom_policy_1>
def test_encode_custom_policy_1(self):
"""
Test base64 encoding custom policy 1 from Amazon's documentation.
"""
expected = ("eyAKICAgIlN0YXRlbWVudCI6IFt7IAogICAgICAiUmVzb3VyY2Ui"
"OiJodHRwOi8vZDYwNDcyMWZ4YWFxeTkuY2xvdWRmcm9udC5uZXQv"
"dHJhaW5pbmcvKiIsIAogICAgICAiQ29uZGl0aW9uIjp7IAogICAg"
"ICAgICAiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE0NS4x"
"NjguMTQzLjAvMjQifSwgCiAgICAgICAgICJEYXRlTGVzc1RoYW4i"
"OnsiQVdTOkVwb2NoVGltZSI6MTI1ODIzNzIwMH0gICAgICAKICAg"
"ICAgfSAKICAgfV0gCn0K")
> encoded = self.dist._url_base64_encode(self.custom_policy_1)
tests/unit/cloudfront/test_signed_urls.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:686: in _url_base64_encode
msg_base64 = base64.b64encode(msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = '{ \n "Statement": [{ \n "Resource":"http://d604721fxaaqy9.cloudfront.net/training/*", \n "Condition":{ \n...AWS:SourceIp":"145.168.143.0/24"}, \n "DateLessThan":{"AWS:EpochTime":1258237200} \n } \n }] \n}\n'
altchars = None
def b64encode(s, altchars=None):
"""Encode the bytes-like object s using Base64 and return a bytes object.
Optional altchars should be a byte string of length 2 which specifies an
alternative alphabet for the '+' and '/' characters. This allows an
application to e.g. generate url or filesystem safe Base64 strings.
"""
> encoded = binascii.b2a_base64(s, newline=False)
E TypeError: a bytes-like object is required, not 'str'
/usr/lib64/python3.8/base64.py:58: TypeError
___________________________________________________________ CloudfrontSignedUrlsTest.test_encode_custom_policy_2 ___________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_encode_custom_policy_2>
def test_encode_custom_policy_2(self):
"""
Test base64 encoding custom policy 2 from Amazon's documentation.
"""
expected = ("eyAKICAgIlN0YXRlbWVudCI6IFt7IAogICAgICAiUmVzb3VyY2Ui"
"OiJodHRwOi8vKiIsIAogICAgICAiQ29uZGl0aW9uIjp7IAogICAg"
"ICAgICAiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjIxNi45"
"OC4zNS4xLzMyIn0sCiAgICAgICAgICJEYXRlR3JlYXRlclRoYW4i"
"OnsiQVdTOkVwb2NoVGltZSI6MTI0MTA3Mzc5MH0sCiAgICAgICAg"
"ICJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTI1NTY3"
"NDcxNn0KICAgICAgfSAKICAgfV0gCn0K")
> encoded = self.dist._url_base64_encode(self.custom_policy_2)
tests/unit/cloudfront/test_signed_urls.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:686: in _url_base64_encode
msg_base64 = base64.b64encode(msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = '{ \n "Statement": [{ \n "Resource":"http://*", \n "Condition":{ \n "IpAddress":{"AWS:SourceIp":"2...reaterThan":{"AWS:EpochTime":1241073790},\n "DateLessThan":{"AWS:EpochTime":1255674716}\n } \n }] \n}\n'
altchars = None
def b64encode(s, altchars=None):
"""Encode the bytes-like object s using Base64 and return a bytes object.
Optional altchars should be a byte string of length 2 which specifies an
alternative alphabet for the '+' and '/' characters. This allows an
application to e.g. generate url or filesystem safe Base64 strings.
"""
> encoded = binascii.b2a_base64(s, newline=False)
E TypeError: a bytes-like object is required, not 'str'
/usr/lib64/python3.8/base64.py:58: TypeError
____________________________________________________________ CloudfrontSignedUrlsTest.test_params_canned_policy ____________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_params_canned_policy>
def test_params_canned_policy(self):
"""
Test the correct params are generated for a canned policy.
"""
url = "http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes"
expire_time = 1258237200
expected_sig = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyE"
"XPDNv0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4"
"kXAJK6tdNx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCM"
"IYHIaiOB6~5jt9w2EOwi6sIIqrg_")
> signed_url_params = self.dist._create_signing_params(url, self.pk_id, expire_time, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:609: in _create_signing_params
signature = self._sign_string(policy, private_key_file, private_key_string)
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{"Statement":[{"Resource":"http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes","Condition":{"DateLessThan":{"AWS:EpochTime":1258237200}}}]}'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
_____________________________________________________________ CloudfrontSignedUrlsTest.test_sign_canned_policy _____________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_canned_policy>
def test_sign_canned_policy(self):
"""
Test signing the canned policy from amazon's cloudfront documentation.
"""
expected = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDN"
"v0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6td"
"Nx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5j"
"t9w2EOwi6sIIqrg_")
> sig = self.dist._sign_string(self.canned_policy, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{"Statement":[{"Resource":"http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes","Condition":{"DateLessThan":{"AWS:EpochTime":1258237200}}}]}'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
_________________________________________________________ CloudfrontSignedUrlsTest.test_sign_canned_policy_pk_file _________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_canned_policy_pk_file>
def test_sign_canned_policy_pk_file(self):
"""
Test signing the canned policy from amazon's cloudfront documentation
with a file object.
"""
expected = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDN"
"v0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6td"
"Nx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5j"
"t9w2EOwi6sIIqrg_")
pk_file = tempfile.TemporaryFile()
> pk_file.write(self.pk_str)
E TypeError: a bytes-like object is required, not 'str'
tests/unit/cloudfront/test_signed_urls.py:110: TypeError
______________________________________________________ CloudfrontSignedUrlsTest.test_sign_canned_policy_pk_file_like _______________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_canned_policy_pk_file_like>
def test_sign_canned_policy_pk_file_like(self):
"""
Test signing the canned policy from amazon's cloudfront documentation
with a file-like object (not a subclass of 'file' type)
"""
expected = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDN"
"v0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6td"
"Nx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5j"
"t9w2EOwi6sIIqrg_")
pk_file = StringIO()
pk_file.write(self.pk_str)
pk_file.seek(0)
> sig = self.dist._sign_string(self.canned_policy, private_key_file=pk_file)
tests/unit/cloudfront/test_signed_urls.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{"Statement":[{"Resource":"http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes","Condition":{"DateLessThan":{"AWS:EpochTime":1258237200}}}]}'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
______________________________________________________ CloudfrontSignedUrlsTest.test_sign_canned_policy_pk_file_name _______________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_canned_policy_pk_file_name>
def test_sign_canned_policy_pk_file_name(self):
"""
Test signing the canned policy from amazon's cloudfront documentation
with a file name.
"""
expected = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDN"
"v0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6td"
"Nx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5j"
"t9w2EOwi6sIIqrg_")
pk_file = tempfile.NamedTemporaryFile()
> pk_file.write(self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = ('\n-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDA7ki9gI/lRygIoOjV1yymgx6FYFlzJ+z1ATMaLo57nL57AavW\nhb68HYY8EA0GJU9...lODlC0Y2BZv2JxW3Osv/WkUQ4dslfAQl1T303\n7uwwr7XTroMv8dIFQIPreoPhRKmd/SbJzbiKfS/4QDhU\n-----END RSA PRIVATE KEY-----\n',)
kwargs = {}
@_functools.wraps(func)
def func_wrapper(*args, **kwargs):
> return func(*args, **kwargs)
E TypeError: a bytes-like object is required, not 'str'
/usr/lib64/python3.8/tempfile.py:473: TypeError
_________________________________________________________ CloudfrontSignedUrlsTest.test_sign_canned_policy_unicode _________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_canned_policy_unicode>
def test_sign_canned_policy_unicode(self):
"""
Test signing the canned policy from amazon's cloudfront documentation.
"""
expected = ("Nql641NHEUkUaXQHZINK1FZ~SYeUSoBJMxjdgqrzIdzV2gyEXPDN"
"v0pYdWJkflDKJ3xIu7lbwRpSkG98NBlgPi4ZJpRRnVX4kXAJK6td"
"Nx6FucDB7OVqzcxkxHsGFd8VCG1BkC-Afh9~lOCMIYHIaiOB6~5j"
"t9w2EOwi6sIIqrg_")
unicode_policy = six.text_type(self.canned_policy)
> sig = self.dist._sign_string(unicode_policy, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{"Statement":[{"Resource":"http://d604721fxaaqy9.cloudfront.net/horizon.jpg?large=yes&license=yes","Condition":{"DateLessThan":{"AWS:EpochTime":1258237200}}}]}'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
____________________________________________________________ CloudfrontSignedUrlsTest.test_sign_custom_policy_1 ____________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_custom_policy_1>
def test_sign_custom_policy_1(self):
"""
Test signing custom policy 1 from amazon's cloudfront documentation.
"""
expected = ("cPFtRKvUfYNYmxek6ZNs6vgKEZP6G3Cb4cyVt~FjqbHOnMdxdT7e"
"T6pYmhHYzuDsFH4Jpsctke2Ux6PCXcKxUcTIm8SO4b29~1QvhMl-"
"CIojki3Hd3~Unxjw7Cpo1qRjtvrimW0DPZBZYHFZtiZXsaPt87yB"
"P9GWnTQoaVysMxQ_")
> sig = self.dist._sign_string(self.custom_policy_1, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:169:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{ \n "Statement": [{ \n "Resource":"http://d604721fxaaqy9.cloudfront.net/training/*", \n "Condition":{ \n...AWS:SourceIp":"145.168.143.0/24"}, \n "DateLessThan":{"AWS:EpochTime":1258237200} \n } \n }] \n}\n'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
____________________________________________________________ CloudfrontSignedUrlsTest.test_sign_custom_policy_2 ____________________________________________________________
self = <tests.unit.cloudfront.test_signed_urls.CloudfrontSignedUrlsTest testMethod=test_sign_custom_policy_2>
def test_sign_custom_policy_2(self):
"""
Test signing custom policy 2 from amazon's cloudfront documentation.
"""
expected = ("rc~5Qbbm8EJXjUTQ6Cn0LAxR72g1DOPrTmdtfbWVVgQNw0q~KHUA"
"mBa2Zv1Wjj8dDET4XSL~Myh44CLQdu4dOH~N9huH7QfPSR~O4tIO"
"S1WWcP~2JmtVPoQyLlEc8YHRCuN3nVNZJ0m4EZcXXNAS-0x6Zco2"
"SYx~hywTRxWR~5Q_")
> sig = self.dist._sign_string(self.custom_policy_2, private_key_string=self.pk_str)
tests/unit/cloudfront/test_signed_urls.py:181:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/cloudfront/distribution.py:677: in _sign_string
signature = rsa.sign(str(message), private_key, 'SHA-1')
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:337: in sign
msg_hash = compute_hash(message, hash_method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
message = '{ \n "Statement": [{ \n "Resource":"http://*", \n "Condition":{ \n "IpAddress":{"AWS:SourceIp":"2...reaterThan":{"AWS:EpochTime":1241073790},\n "DateLessThan":{"AWS:EpochTime":1255674716}\n } \n }] \n}\n'
method_name = 'SHA-1'
def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
"""Returns the message digest.
:param message: the signed message. Can be an 8-bit string or a file-like
object. If ``message`` has a ``read()`` method, it is assumed to be a
file-like object.
:param method_name: the hash method, must be a key of
:py:const:`HASH_METHODS`.
"""
if method_name not in HASH_METHODS:
raise ValueError("Invalid hash method: %s" % method_name)
method = HASH_METHODS[method_name]
hasher = method()
if isinstance(message, bytes):
hasher.update(message)
else:
> assert hasattr(message, "read") and hasattr(message.read, "__call__")
E AssertionError
/usr/lib/python3.8/site-packages/rsa/pkcs1.py:439: AssertionError
____________________________________________________________________ TestECSConnection.test_item_lookup ____________________________________________________________________
self = <tests.unit.ecs.test_connection.TestECSConnection testMethod=test_item_lookup>
def test_item_lookup(self):
self.set_http_response(status_code=200)
> item_set = self.service_connection.item_lookup(
ItemId='0316067938',
ResponseGroup='Reviews'
)
tests/unit/ecs/test_connection.py:53:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/ecs/__init__.py:105: in item_lookup
return self.get_response('ItemLookup', params)
boto/ecs/__init__.py:78: in get_response
xml.sax.parseString(body.encode('utf-8'), h)
/usr/lib64/python3.8/xml/sax/__init__.py:48: in parseString
parser.parse(inpsrc)
/usr/lib64/python3.8/xml/sax/expatreader.py:111: in parse
xmlreader.IncrementalParser.parse(self, source)
/usr/lib64/python3.8/xml/sax/xmlreader.py:125: in parse
self.feed(buffer)
/usr/lib64/python3.8/xml/sax/expatreader.py:217: in feed
self._parser.Parse(data, isFinal)
/home/tkloczko/rpmbuild/BUILD/Python-3.8.12/Modules/pyexpat.c:459: in EndElement
???
/usr/lib64/python3.8/xml/sax/expatreader.py:336: in end_element
self._cont_handler.endElement(name)
boto/handler.py:41: in endElement
self.nodes[-1][1].endElement(name, self.current_text, self.connection)
boto/ecs/item.py:136: in endElement
self.curItem.endElement(name, value, connection)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Item: {'_connection': ECSConnection:ecs.amazonaws.com, '_nodename': 'Item', '_nodepath': ['ASIN'], '_curobj': <Respon...amazonaws.com, '_nodename': None, '_nodepath': [], '_curobj': None, '_xml': <_io.StringIO object at 0x7f9a06200dc0>}>}>
name = 'ASIN', value = 'B00008OE6I', connection = ECSConnection:ecs.amazonaws.com
def endElement(self, name, value, connection):
> self._xml.write("%s</%s>" % (cgi.escape(value).replace("&amp;", "&"), name))
E AttributeError: module 'cgi' has no attribute 'escape'
boto/ecs/item.py:70: AttributeError
_____________________________________________________________ TestRunJobFlow.test_run_jobflow_enable_debugging _____________________________________________________________
self = <test_connection.TestRunJobFlow testMethod=test_run_jobflow_enable_debugging>
def test_run_jobflow_enable_debugging(self):
self.region = 'ap-northeast-2'
self.set_http_response(200)
self.service_connection.run_jobflow(
'EmrCluster', enable_debugging=True)
actual_params = set(self.actual_request.params.copy().items())
expected_params = set([
('Steps.member.1.HadoopJarStep.Jar',
's3://ap-northeast-2.elasticmapreduce/libs/script-runner/script-runner.jar'),
('Steps.member.1.HadoopJarStep.Args.member.1',
's3://ap-northeast-2.elasticmapreduce/libs/state-pusher/0.1/fetch'),
])
> self.assertTrue(expected_params <= actual_params)
E AssertionError: False is not true
tests/unit/emr/test_connection.py:1054: AssertionError
______________________________________________________________________ TestPassword.test_constructor _______________________________________________________________________
self = <tests.unit.utils.test_utils.TestPassword testMethod=test_constructor>
def test_constructor(self):
hmac_hashfunc = lambda msg: hmac.new(b'mysecretkey', msg)
password = Password(hashfunc=hmac_hashfunc)
> password.set('foo')
tests/unit/utils/test_utils.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
boto/utils.py:787: in set
self.str = self.hashfunc(value).hexdigest()
tests/unit/utils/test_utils.py:101: in <lambda>
hmac_hashfunc = lambda msg: hmac.new(b'mysecretkey', msg)
/usr/lib64/python3.8/hmac.py:153: in new
return HMAC(key, msg, digestmod)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <hmac.HMAC object at 0x7f9a060d74f0>, key = b'mysecretkey', msg = b'foo', digestmod = ''
def __init__(self, key, msg=None, digestmod=''):
"""Create a new HMAC object.
key: bytes or buffer, key for the keyed hash object.
msg: bytes or buffer, Initial input for the hash or None.
digestmod: A hash name suitable for hashlib.new(). *OR*
A hashlib constructor returning a new hash object. *OR*
A module supporting PEP 247.
Required as of 3.8, despite its position after the optional
msg argument. Passing it as a keyword argument is
recommended, though not required for legacy API reasons.
"""
if not isinstance(key, (bytes, bytearray)):
raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).__name__)
if not digestmod:
> raise TypeError("Missing required parameter 'digestmod'.")
E TypeError: Missing required parameter 'digestmod'.
/usr/lib64/python3.8/hmac.py:51: TypeError
__________________________________________________________________________ TestPassword.test_hmac __________________________________________________________________________
self = <tests.unit.utils.test_utils.TestPassword testMethod=test_hmac>
def test_hmac(self):
def hmac_hashfunc(cls, msg):
if not isinstance(msg, bytes):
msg = msg.encode('utf-8')
return hmac.new(b'mysecretkey', msg)
class HMACPassword(Password):
hashfunc = hmac_hashfunc
> self.clstest(HMACPassword)
tests/unit/utils/test_utils.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/unit/utils/test_utils.py:61: in clstest
self.assertNotEquals(password, 'foo')
boto/utils.py:797: in __eq__
return str(self.hashfunc(other).hexdigest()) == str(self.str)
tests/unit/utils/test_utils.py:88: in hmac_hashfunc
return hmac.new(b'mysecretkey', msg)
/usr/lib64/python3.8/hmac.py:153: in new
return HMAC(key, msg, digestmod)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <hmac.HMAC object at 0x7f9a05e6df70>, key = b'mysecretkey', msg = b'foo', digestmod = ''
def __init__(self, key, msg=None, digestmod=''):
"""Create a new HMAC object.
key: bytes or buffer, key for the keyed hash object.
msg: bytes or buffer, Initial input for the hash or None.
digestmod: A hash name suitable for hashlib.new(). *OR*
A hashlib constructor returning a new hash object. *OR*
A module supporting PEP 247.
Required as of 3.8, despite its position after the optional
msg argument. Passing it as a keyword argument is
recommended, though not required for legacy API reasons.
"""
if not isinstance(key, (bytes, bytearray)):
raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).__name__)
if not digestmod:
> raise TypeError("Missing required parameter 'digestmod'.")
E TypeError: Missing required parameter 'digestmod'.
/usr/lib64/python3.8/hmac.py:51: TypeError
============================================================================= warnings summary =============================================================================
boto/plugin.py:40
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/plugin.py:40: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
boto/sdb/db/test_db.py:22
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:22: PytestCollectionWarning: cannot collect test class 'TestBasic' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestBasic(Model):
boto/sdb/db/test_db.py:29
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:29: PytestCollectionWarning: cannot collect test class 'TestFloat' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestFloat(Model):
boto/sdb/db/test_db.py:34
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:34: PytestCollectionWarning: cannot collect test class 'TestRequired' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestRequired(Model):
boto/sdb/db/test_db.py:38
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:38: PytestCollectionWarning: cannot collect test class 'TestReference' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestReference(Model):
boto/sdb/db/test_db.py:42
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:42: PytestCollectionWarning: cannot collect test class 'TestSubClass' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestSubClass(TestBasic):
boto/sdb/db/test_db.py:46
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:46: PytestCollectionWarning: cannot collect test class 'TestPassword' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestPassword(Model):
boto/sdb/db/test_db.py:49
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:49: PytestCollectionWarning: cannot collect test class 'TestList' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestList(Model):
boto/sdb/db/test_db.py:54
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:54: PytestCollectionWarning: cannot collect test class 'TestMap' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestMap(Model):
boto/sdb/db/test_db.py:59
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:59: PytestCollectionWarning: cannot collect test class 'TestListReference' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestListReference(Model):
boto/sdb/db/test_db.py:64
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:64: PytestCollectionWarning: cannot collect test class 'TestAutoNow' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestAutoNow(Model):
boto/sdb/db/test_db.py:69
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/sdb/db/test_db.py:69: PytestCollectionWarning: cannot collect test class 'TestUnique' because it has a __init__ constructor (from: boto/sdb/db/test_db.py)
class TestUnique(Model):
tests/unit/test_regioninfo.py:33
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/test_regioninfo.py:33: PytestCollectionWarning: cannot collect test class 'TestRegionInfo' because it has a __init__ constructor (from: tests/unit/test_regioninfo.py)
class TestRegionInfo(object):
boto/dynamodb/types.py:30
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/dynamodb/types.py:30: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
tests/unit/rds/test_connection.py:642
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/rds/test_connection.py:642: DeprecationWarning: invalid escape sequence \R
logfile_sample = """
tests/unit/cloudformation/test_connection.py::TestCloudFormationCreateStack::test_create_stack_fails
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudformation/test_connection.py:107: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(self.service_connection.ResponseError,
tests/unit/cloudsearch/test_exceptions.py::CloudSearchJSONExceptionTest::test_no_simplejson_value_error
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch/test_exceptions.py:27: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'non-json'):
tests/unit/cloudsearch/test_exceptions.py::CloudSearchJSONExceptionTest::test_simplejson_jsondecodeerror
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch/test_exceptions.py:36: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'non-json'):
tests/unit/cloudsearch/test_search.py::CloudSearchUnauthorizedTest::test_response
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch/test_search.py:387: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'foo bar baz'):
tests/unit/cloudsearch2/test_document.py::CloudSearchDocumentErrorMismatch::test_attached_errors_list
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch2/test_document.py:346: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(e.errors[0], self.response['errors'][0].get('message'))
tests/unit/cloudsearch2/test_exceptions.py::CloudSearchJSONExceptionTest::test_no_simplejson_value_error
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch2/test_exceptions.py:27: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'non-json'):
tests/unit/cloudsearch2/test_exceptions.py::CloudSearchJSONExceptionTest::test_simplejson_jsondecodeerror
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch2/test_exceptions.py:36: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'non-json'):
tests/unit/cloudsearch2/test_search.py::CloudSearchUnauthorizedTest::test_response
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/cloudsearch2/test_search.py:333: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(SearchServiceException, 'foo bar baz'):
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:835: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(1, len(parsed))
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:836: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("ami-abcd1234", parsed[0].id)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:837: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("111111111111/windows2008r2-hvm-i386-20130702", parsed[0].location)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:838: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("available", parsed[0].state)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:839: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("111111111111", parsed[0].ownerId)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:840: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("111111111111", parsed[0].owner_id)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:841: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(False, parsed[0].is_public)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:842: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("i386", parsed[0].architecture)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:843: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("machine", parsed[0].type)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:844: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(None, parsed[0].kernel_id)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:845: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(None, parsed[0].ramdisk_id)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:846: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(None, parsed[0].owner_alias)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:847: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("windows", parsed[0].platform)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:848: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("Windows Test", parsed[0].name)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:849: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("Windows Test Description", parsed[0].description)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:850: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("ebs", parsed[0].root_device_type)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:851: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("/dev/sda1", parsed[0].root_device_name)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:852: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("hvm", parsed[0].virtualization_type)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:853: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("xen", parsed[0].hypervisor)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:854: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(None, parsed[0].instance_lifecycle)
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:857: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(1, len(parsed[0].billing_products))
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:858: DeprecationWarning: Please use assertEqual instead.
self.assertEquals("bp-6ba54002", parsed[0].billing_products[0])
tests/unit/ec2/test_connection.py::TestGetAllImages::test_get_all_images
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:861: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(5, len(parsed[0].block_device_mapping))
tests/unit/ec2/test_connection.py::TestModifyInterfaceAttribute::test_modify_attr_invalid
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:986: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'Unknown attribute'):
tests/unit/ec2/test_connection.py::TestModifyInterfaceAttribute::test_modify_group_set_invalid
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_connection.py:979: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(TypeError, 'iterable'):
tests/unit/ec2/test_connection.py::TestDescribeInstances::test_default_behavior
tests/unit/ec2/test_connection.py::TestDescribeInstances::test_max_results
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/ec2/connection.py:580: PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations.
warnings.warn(('The current get_all_instances implementation will be '
tests/unit/ec2/test_networkinterface.py::NetworkInterfaceTests::test_update_with_validate_true_raises_value_error
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_networkinterface.py:56: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, "^eni-1 is not a valid ENI ID$"):
tests/unit/ec2/test_reservedinstance.py::TestReservedInstancesSet::test_get_all_reserved_instaces
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_reservedinstance.py:41: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response[0].id, 'ididididid')
tests/unit/ec2/test_reservedinstance.py::TestReservedInstancesSet::test_get_all_reserved_instaces
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_reservedinstance.py:42: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response[0].instance_count, 5)
tests/unit/ec2/test_reservedinstance.py::TestReservedInstancesSet::test_get_all_reserved_instaces
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_reservedinstance.py:43: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response[0].start, '2014-05-03T14:10:10.944Z')
tests/unit/ec2/test_reservedinstance.py::TestReservedInstancesSet::test_get_all_reserved_instaces
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_reservedinstance.py:44: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response[0].end, '2014-05-03T14:10:11.000Z')
tests/unit/ec2/test_volume.py::VolumeTests::test_update_with_validate_true_raises_value_error
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/ec2/test_volume.py:116: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, "^1 is not a valid Volume ID$"):
tests/unit/emr/test_emr_responses.py: 25 warnings
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_emr_responses.py:349: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(expected, actual,
tests/unit/emr/test_emr_responses.py::TestEMRResponses::test_JobFlows_completed
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_emr_responses.py:386: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(6, len(jobflow.steps))
tests/unit/emr/test_emr_responses.py::TestEMRResponses::test_JobFlows_completed
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_emr_responses.py:387: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(2, len(jobflow.instancegroups))
tests/unit/emr/test_instance_group_args.py::TestInstanceGroupArgs::test_bidprice_Decimal
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_instance_group_args.py:38: DeprecationWarning: Please use assertEqual instead.
self.assertEquals('1.10', instance_group.bidprice[:4])
tests/unit/emr/test_instance_group_args.py::TestInstanceGroupArgs::test_bidprice_float
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_instance_group_args.py:46: DeprecationWarning: Please use assertEqual instead.
self.assertEquals('1.1', instance_group.bidprice)
tests/unit/emr/test_instance_group_args.py::TestInstanceGroupArgs::test_bidprice_missing_spot
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_instance_group_args.py:20: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'bidprice must be specified'):
tests/unit/emr/test_instance_group_args.py::TestInstanceGroupArgs::test_bidprice_string
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/emr/test_instance_group_args.py:54: DeprecationWarning: Please use assertEqual instead.
self.assertEquals('1.1', instance_group.bidprice)
tests/unit/glacier/test_layer2.py::TestVault::test_list_all_parts_one_page
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:260: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(expected, self.mock_layer1.list_parts.call_args_list)
tests/unit/glacier/test_layer2.py::TestVault::test_list_all_parts_one_page
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:261: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(EXAMPLE_PART_LIST_COMPLETE, parts_result)
tests/unit/glacier/test_layer2.py::TestVault::test_list_all_parts_two_pages
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:273: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(expected, self.mock_layer1.list_parts.call_args_list)
tests/unit/glacier/test_layer2.py::TestVault::test_list_all_parts_two_pages
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:274: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(EXAMPLE_PART_LIST_COMPLETE, parts_result)
tests/unit/glacier/test_layer2.py::TestRangeStringParsing::test_range_end_mismatch
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:337: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
tests/unit/glacier/test_layer2.py::TestRangeStringParsing::test_range_one_too_big
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:324: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
tests/unit/glacier/test_layer2.py::TestRangeStringParsing::test_simple_range
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_layer2.py:316: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
tests/unit/glacier/test_response.py::TestResponse::test_204_body_isnt_passed_to_json
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/glacier/test_response.py:32: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result.status, response.status)
tests/unit/iam/test_connection.py::TestGenerateCredentialReport::test_generate_credential_report
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/iam/test_connection.py:335: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response['generate_credential_report_response']
tests/unit/iam/test_connection.py::TestCreateVirtualMFADevice::test_create_virtual_mfa_device
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/iam/test_connection.py:392: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response['create_virtual_mfa_device_response']
tests/unit/iam/test_connection.py::TestGetAccountPasswordPolicy::test_get_account_password_policy
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/iam/test_connection.py:432: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(response['get_account_password_policy_response']
tests/unit/mturk/test_connection.py::TestMTurkConnection::test_get_file_upload_url_success
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_connection.py:26: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(rset), 1)
tests/unit/mturk/test_connection.py::TestMTurkConnection::test_get_file_upload_url_success
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_connection.py:27: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(rset[0].FileUploadURL,
tests/unit/mturk/test_locale_qualification_in.py::TestMTurkPostingWithQualificationsIn::test_locale_qualification_in
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_locale_qualification_in.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_locale_qualification_in.py::TestMTurkPostingWithQualificationsIn::test_locale_qualification_notin_in
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_locale_qualification_in.py:133: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_locale_qualification_notin.py::TestMTurkPostingWithQualificationsNotin::test_locale_qualification_in_notin
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_locale_qualification_notin.py:133: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_locale_qualification_notin.py::TestMTurkPostingWithQualificationsNotin::test_locale_qualification_notin
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_locale_qualification_notin.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_qualification_doesnotexist.py::TestMTurkPostingWithQualificationsDoesnotexist::test_qualification_doesnotexist
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_qualification_doesnotexist.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_qualification_exists.py::TestMTurkPostingWithQualificationsExists::test_qualification_exists
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_qualification_exists.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mturk/test_qualification_qualtypewithscore_in.py::TestMTurkPostingWithQualQualtypewithscoreIn::test_qualification_qualtypewithscore_in
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/mturk/test_qualification_qualtypewithscore_in.py:80: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(create_hit_rs.status, True)
tests/unit/mws/test_connection.py::TestMWSConnection::test_destructure_object
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/mws/connection.py:120: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
elif isinstance(value, collections.Iterable):
tests/unit/pyami/test_config.py::TestCanLoadConfigFile::test_can_get_bool
tests/unit/pyami/test_config.py::TestCanLoadConfigFile::test_can_get_int
tests/unit/pyami/test_config.py::TestCanLoadConfigFile::test_can_get_strings
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/boto/pyami/config.py:61: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
self.readfp(fp)
tests/unit/s3/test_lifecycle.py::TestS3LifeCycle::test_parse_lifecycle_no_prefix
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/s3/test_lifecycle.py:93: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(rule.prefix, '')
tests/unit/s3/test_lifecycle.py::TestS3LifeCycle::test_parse_transition_date
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/s3/test_lifecycle.py:127: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(transition.date, '2012-12-31T00:00:000Z')
tests/unit/s3/test_lifecycle.py::TestS3LifeCycle::test_parse_transition_date_deprecated
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/s3/test_lifecycle.py:132: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(transition.date, '2012-12-31T00:00:000Z')
tests/unit/s3/test_lifecycle.py::TestS3LifeCycle::test_parse_transition_days
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/s3/test_lifecycle.py:117: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(transition.days, 30)
tests/unit/s3/test_lifecycle.py::TestS3LifeCycle::test_parse_transition_days_deprecated
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/s3/test_lifecycle.py:122: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(transition.days, 30)
tests/unit/swf/test_layer1_decisions.py::TestDecisions::test_continue_as_new_workflow_execution
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer1_decisions.py:12: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.decisions._data, list(data))
tests/unit/swf/test_layer2_base.py::TestBase::test_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_base.py:25: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(MOCK_DOMAIN, self.swf_base.domain)
tests/unit/swf/test_layer2_base.py::TestBase::test_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_base.py:26: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(MOCK_ACCESS_KEY, self.swf_base.aws_access_key_id)
tests/unit/swf/test_layer2_base.py::TestBase::test_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_base.py:27: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(MOCK_SECRET_KEY,
tests/unit/swf/test_layer2_base.py::TestBase::test_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_base.py:29: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(MOCK_REGION, self.swf_base.region)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:17: DeprecationWarning: Please use assertEqual instead.
self.assertEquals('test-domain', self.domain.name)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_instantiation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:18: DeprecationWarning: Please use assertEqual instead.
self.assertEquals('My test domain', self.domain.description)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:47: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(6, len(activity_types))
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_activities
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:51: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.region, activity_type.region)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:107: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(4, len(executions))
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:110: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.aws_access_key_id, wf_execution.aws_access_key_id)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:111: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.aws_secret_access_key, wf_execution.aws_secret_access_key)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:112: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.name, wf_execution.domain)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_executions
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:113: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.region, wf_execution.region)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:66: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(2, len(workflow_types))
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:70: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.aws_access_key_id, workflow_type.aws_access_key_id)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:71: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.aws_secret_access_key, workflow_type.aws_secret_access_key)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:72: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.name, workflow_type.domain)
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
tests/unit/swf/test_layer2_domain.py::TestDomain::test_domain_list_workflows
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_domain.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.domain.region, workflow_type.region)
tests/unit/swf/test_layer2_types.py::TestTypes::test_workflow_type_start_execution
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_types.py:41: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(wf_type.name, execution.name)
tests/unit/swf/test_layer2_types.py::TestTypes::test_workflow_type_start_execution
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_types.py:42: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(wf_type.version, execution.version)
tests/unit/swf/test_layer2_types.py::TestTypes::test_workflow_type_start_execution
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/swf/test_layer2_types.py:43: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(run_id, execution.runId)
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
tests/unit/utils/test_utils.py::TestPassword::test_hmac
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:61: DeprecationWarning: Please use assertNotEqual instead.
self.assertNotEquals(password, 'foo')
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:65: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(password, 'foo')
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:66: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(password.str, hashed)
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:69: DeprecationWarning: Please use assertNotEqual instead.
self.assertNotEquals(password.str, 'foo')
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:70: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(password, 'foo')
tests/unit/utils/test_utils.py::TestPassword::test_aaa_version_1_9_default_behavior
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:71: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(password.str, hashed)
tests/unit/utils/test_utils.py::TestPassword::test_custom_hashclass
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:82: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(hashlib.sha224(b'foo').hexdigest(), str(password))
tests/unit/utils/test_utils.py::TestParseHost::test_parses_hostnames_with_port
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:409: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, 'example.org')
tests/unit/utils/test_utils.py::TestParseHost::test_parses_hostnames_without_port
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:414: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, host)
tests/unit/utils/test_utils.py::TestParseHost::test_parses_ipv4_hosts
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:399: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, host)
tests/unit/utils/test_utils.py::TestParseHost::test_parses_ipv4_hosts_with_port
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:404: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, '192.168.168.200')
tests/unit/utils/test_utils.py::TestParseHost::test_parses_ipv6_hosts_no_brackets
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:384: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, host)
tests/unit/utils/test_utils.py::TestParseHost::test_parses_ipv6_hosts_with_brackets_and_port
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:394: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, 'bf1d:cb48:4513:d1f1:efdd:b290:9ff9:64be')
tests/unit/utils/test_utils.py::TestParseHost::test_parses_ipv6_hosts_with_brackets_stripping_them
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/utils/test_utils.py:389: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(result, 'bf1d:cb48:4513:d1f1:efdd:b290:9ff9:64be')
tests/unit/vpc/test_customergateway.py::TestDescribeCustomerGateways::test_get_all_customer_gateways
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:46: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 1)
tests/unit/vpc/test_customergateway.py::TestCreateCustomerGateway::test_create_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:83: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'cgw-b4dc3961')
tests/unit/vpc/test_customergateway.py::TestCreateCustomerGateway::test_create_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:84: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.state, 'pending')
tests/unit/vpc/test_customergateway.py::TestCreateCustomerGateway::test_create_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:85: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.type, 'ipsec.1')
tests/unit/vpc/test_customergateway.py::TestCreateCustomerGateway::test_create_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:86: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.ip_address, '12.1.2.3')
tests/unit/vpc/test_customergateway.py::TestCreateCustomerGateway::test_create_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:87: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.bgp_asn, 65534)
tests/unit/vpc/test_customergateway.py::TestDeleteCustomerGateway::test_delete_customer_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_customergateway.py:111: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_dhcpoptions.py::TestDescribeDhcpOptions::test_get_all_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:62: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 1)
tests/unit/vpc/test_dhcpoptions.py::TestDescribeDhcpOptions::test_get_all_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:64: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].id, 'dopt-7a8b9c2d')
tests/unit/vpc/test_dhcpoptions.py::TestDescribeDhcpOptions::test_get_all_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:65: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].options['domain-name'], ['example.com'])
tests/unit/vpc/test_dhcpoptions.py::TestDescribeDhcpOptions::test_get_all_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:66: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].options['domain-name-servers'], ['10.2.5.1', '10.2.5.2'])
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:157: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'dopt-7a8b9c2d')
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:158: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options['domain-name'], ['example.com'])
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:159: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options['domain-name-servers'], ['10.2.5.1', '10.2.5.2'])
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:160: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options['ntp-servers'], ['10.12.12.1', '10.12.12.2'])
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:161: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options['netbios-name-servers'], ['10.20.20.1'])
tests/unit/vpc/test_dhcpoptions.py::TestCreateDhcpOptions::test_create_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:162: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options['netbios-node-type'], ['2'])
tests/unit/vpc/test_dhcpoptions.py::TestDeleteDhcpOptions::test_delete_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:186: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_dhcpoptions.py::TestAssociateDhcpOptions::test_associate_dhcp_options
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_dhcpoptions.py:212: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_internetgateway.py::TestDescribeInternetGateway::test_describe_internet_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_internetgateway.py:43: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 1)
tests/unit/vpc/test_internetgateway.py::TestDeleteInternetGateway::test_delete_internet_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_internetgateway.py:97: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_internetgateway.py::TestAttachInternetGateway::test_attach_internet_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_internetgateway.py:123: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_internetgateway.py::TestDetachInternetGateway::test_detach_internet_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_internetgateway.py:149: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_natgateway.py::TestDescribeNatGateway::test_describe_nat_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_natgateway.py:47: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 1)
tests/unit/vpc/test_natgateway.py::TestDeleteNatGateway::test_delete_nat_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_natgateway.py:110: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:91: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 2)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:93: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].id, 'rtb-13ad487a')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:94: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response[0].routes), 1)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:95: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].routes[0].destination_cidr_block, '10.0.0.0/22')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:96: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].routes[0].gateway_id, 'local')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:97: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].routes[0].state, 'active')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:98: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].routes[0].origin, 'CreateRouteTable')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:99: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response[0].associations), 1)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:100: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].associations[0].id, 'rtbassoc-12ad487b')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:101: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].associations[0].route_table_id, 'rtb-13ad487a')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:103: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[0].associations[0].main, True)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:104: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].id, 'rtb-f9ad4890')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:105: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response[1].routes), 4)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:106: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[0].destination_cidr_block, '10.0.0.0/22')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:107: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[0].gateway_id, 'local')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:108: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[0].state, 'active')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:109: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[0].origin, 'CreateRouteTable')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:110: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[1].destination_cidr_block, '0.0.0.0/0')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:111: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[1].gateway_id, 'igw-eaad4883')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:112: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[1].state, 'active')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:113: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[1].origin, 'CreateRoute')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:114: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[2].destination_cidr_block, '10.0.0.0/21')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:115: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[2].interface_id, 'eni-884ec1d1')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:116: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[2].state, 'blackhole')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:117: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[2].origin, 'CreateRoute')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:118: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[3].destination_cidr_block, '11.0.0.0/22')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:119: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[3].vpc_peering_connection_id, 'pcx-efc52b86')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:120: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[3].state, 'blackhole')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:121: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].routes[3].origin, 'CreateRoute')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:122: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response[1].associations), 1)
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:123: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].associations[0].id, 'rtbassoc-faad4893')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:124: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].associations[0].route_table_id, 'rtb-f9ad4890')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:125: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].associations[0].subnet_id, 'subnet-15ad487c')
tests/unit/vpc/test_routetable.py::TestDescribeRouteTables::test_get_all_route_tables
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:126: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response[1].associations[0].main, False)
tests/unit/vpc/test_routetable.py::TestAssociateRouteTable::test_associate_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:152: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, 'rtbassoc-f8ad4891')
tests/unit/vpc/test_routetable.py::TestDisassociateRouteTable::test_disassociate_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:176: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestCreateRouteTable::test_create_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:213: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'rtb-f9ad4890')
tests/unit/vpc/test_routetable.py::TestCreateRouteTable::test_create_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:214: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response.routes), 1)
tests/unit/vpc/test_routetable.py::TestCreateRouteTable::test_create_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:215: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.routes[0].destination_cidr_block, '10.0.0.0/22')
tests/unit/vpc/test_routetable.py::TestCreateRouteTable::test_create_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:216: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.routes[0].gateway_id, 'local')
tests/unit/vpc/test_routetable.py::TestCreateRouteTable::test_create_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:217: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.routes[0].state, 'active')
tests/unit/vpc/test_routetable.py::TestDeleteRouteTable::test_delete_route_table
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:241: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRouteTableAssociation::test_replace_route_table_assocation
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:267: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRouteTableAssociation::test_replace_route_table_association_with_assoc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:280: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, 'rtbassoc-faad4893')
tests/unit/vpc/test_routetable.py::TestCreateRoute::test_create_route_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:307: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestCreateRoute::test_create_route_instance
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:321: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestCreateRoute::test_create_route_interface
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:335: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestCreateRoute::test_create_route_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:349: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRoute::test_replace_route_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:376: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRoute::test_replace_route_instance
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:390: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRoute::test_replace_route_interface
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:404: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestReplaceRoute::test_replace_route_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:418: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_routetable.py::TestDeleteRoute::test_delete_route
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_routetable.py:443: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_subnet.py::TestDescribeSubnets::test_get_all_subnets
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:61: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(api_response), 2)
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:100: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'subnet-9d4a7b6c')
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:101: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.state, 'pending')
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:102: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.vpc_id, 'vpc-1a2b3c4d')
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:103: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.cidr_block, '10.0.1.0/24')
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:104: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.available_ip_address_count, 251)
tests/unit/vpc/test_subnet.py::TestCreateSubnet::test_create_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:105: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.availability_zone, 'us-east-1a')
tests/unit/vpc/test_subnet.py::TestDeleteSubnet::test_delete_subnet
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:129: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_subnet.py::TestModifySubnetAttribute::test_modify_subnet_attribute
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_subnet.py:154: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpc.py::TestCreateVpc::test_create_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:73: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'vpc-1a2b3c4d')
tests/unit/vpc/test_vpc.py::TestCreateVpc::test_create_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:74: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.state, 'pending')
tests/unit/vpc/test_vpc.py::TestCreateVpc::test_create_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:75: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.cidr_block, '10.0.0.0/16')
tests/unit/vpc/test_vpc.py::TestCreateVpc::test_create_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:76: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.dhcp_options_id, 'dopt-1a2b3c4d2')
tests/unit/vpc/test_vpc.py::TestCreateVpc::test_create_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:77: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.instance_tenancy, 'default')
tests/unit/vpc/test_vpc.py::TestDeleteVpc::test_delete_vpc
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:101: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpc.py::TestModifyVpcAttribute::test_modify_vpc_attribute_dns_hostnames
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:140: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpc.py::TestModifyVpcAttribute::test_modify_vpc_attribute_dns_support
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc.py:127: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpc_peering_connection.py::TestDeleteVpcPeeringConnection::test_delete_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc_peering_connection.py:160: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.service_connection.delete_vpc_peering_connection('pcx-12345678'), True)
tests/unit/vpc/test_vpc_peering_connection.py::TestDeleteVpcPeeringConnectionShortForm::test_delete_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc_peering_connection.py:202: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(1, len(vpc_peering_connections))
tests/unit/vpc/test_vpc_peering_connection.py::TestDeleteVpcPeeringConnectionShortForm::test_delete_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc_peering_connection.py:209: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(True, vpc_peering_connection.delete())
tests/unit/vpc/test_vpc_peering_connection.py::TestRejectVpcPeeringConnection::test_reject_vpc_peering_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpc_peering_connection.py:227: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(self.service_connection.reject_vpc_peering_connection('pcx-12345678'), True)
tests/unit/vpc/test_vpnconnection.py::TestCreateVPNConnection::test_create_vpn_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:173: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'vpn-83ad48ea')
tests/unit/vpc/test_vpnconnection.py::TestCreateVPNConnection::test_create_vpn_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:174: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.customer_gateway_id, 'cgw-b4dc3961')
tests/unit/vpc/test_vpnconnection.py::TestCreateVPNConnection::test_create_vpn_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:175: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.options.static_routes_only, True)
tests/unit/vpc/test_vpnconnection.py::TestDeleteVPNConnection::test_delete_vpn_connection
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:199: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpnconnection.py::TestCreateVPNConnectionRoute::test_create_vpn_connection_route
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:225: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpnconnection.py::TestDeleteVPNConnectionRoute::test_delete_vpn_connection_route
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpnconnection.py:251: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response, True)
tests/unit/vpc/test_vpngateway.py::TestCreateVpnGateway::test_delete_vpn_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpngateway.py:86: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.id, 'vgw-8db04f81')
tests/unit/vpc/test_vpngateway.py::TestAttachVpnGateway::test_attach_vpn_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpngateway.py:139: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.vpc_id, 'vpc-1a2b3c4d')
tests/unit/vpc/test_vpngateway.py::TestAttachVpnGateway::test_attach_vpn_gateway
/home/tkloczko/rpmbuild/BUILD/boto-2.49.0/tests/unit/vpc/test_vpngateway.py:140: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(api_response.state, 'attaching')
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/unit/dynamodb/test_types.py:118: Python 2 only
SKIPPED [1] tests/unit/dynamodb/test_types.py:129: Python 2 only
SKIPPED [1] tests/unit/glacier/test_utils.py:156: Python 3 requires reading binary!
SKIPPED [1] tests/unit/manage/test_ssh.py:35: Paramiko missing
SKIPPED [1] tests/unit/utils/test_utils.py:43: http://bugs.python.org/issue7980
ERROR tests/db/test_password.py::PasswordPropertyTest::test_aaa_default_password_property - AttributeError: type object 'MyModel' has no attribute '_manager'
ERROR tests/db/test_password.py::PasswordPropertyTest::test_custom_password_class - AttributeError: type object 'MyModel' has no attribute '_manager'
ERROR tests/db/test_password.py::PasswordPropertyTest::test_password_constructor_hashfunc - AttributeError: type object 'MyModel' has no attribute '_manager'
FAILED boto/sdb/db/test_db.py::test_basic - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_float - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_required - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_reference - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_subclass - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_password - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_list - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_list_reference - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_unique - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test_datetime - TypeError: attribute name must be string, not 'NoneType'
FAILED boto/sdb/db/test_db.py::test - TypeError: attribute name must be string, not 'NoneType'
FAILED tests/db/test_password.py::PasswordPropertyTest::test_aaa_default_password_property - TypeError: attribute name must be string, not 'NoneType'
FAILED tests/db/test_password.py::PasswordPropertyTest::test_custom_password_class - TypeError: attribute name must be string, not 'NoneType'
FAILED tests/db/test_password.py::PasswordPropertyTest::test_model - AttributeError: type object 'MyModel' has no attribute '_manager'
FAILED tests/db/test_password.py::PasswordPropertyTest::test_password_constructor_hashfunc - TypeError: attribute name must be string, not 'NoneType'
FAILED tests/db/test_sequence.py::TestDBHandler::test_sequence_simple_int - boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were chec...
FAILED tests/db/test_sequence.py::TestDBHandler::test_sequence_simple_string - boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were c...
FAILED tests/db/test_sequence.py::TestDBHandler::test_sequence_fib - boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['...
FAILED tests/db/test_sequence.py::TestDBHandler::test_sequence_string - boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked....
FAILED tests/fps/test_verify_signature.py::test - boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2Aut...
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_canned_policy - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_encode_custom_policy_1 - TypeError: a bytes-like object is required, not 'str'
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_encode_custom_policy_2 - TypeError: a bytes-like object is required, not 'str'
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_params_canned_policy - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_canned_policy - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_canned_policy_pk_file - TypeError: a bytes-like object is required, not 'str'
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_canned_policy_pk_file_like - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_canned_policy_pk_file_name - TypeError: a bytes-like object is required, not 'str'
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_canned_policy_unicode - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_custom_policy_1 - AssertionError
FAILED tests/unit/cloudfront/test_signed_urls.py::CloudfrontSignedUrlsTest::test_sign_custom_policy_2 - AssertionError
FAILED tests/unit/ecs/test_connection.py::TestECSConnection::test_item_lookup - AttributeError: module 'cgi' has no attribute 'escape'
FAILED tests/unit/emr/test_connection.py::TestRunJobFlow::test_run_jobflow_enable_debugging - AssertionError: False is not true
FAILED tests/unit/utils/test_utils.py::TestPassword::test_constructor - TypeError: Missing required parameter 'digestmod'.
FAILED tests/unit/utils/test_utils.py::TestPassword::test_hmac - TypeError: Missing required parameter 'digestmod'.
=================================================== 35 failed, 1069 passed, 5 skipped, 282 warnings, 3 errors in 17.41s ====================================================
nose is an inactive project and the latest release is 7 years ago (2015, version 1.3.7). It will be great if the testing framework could migrate to the other testing frameworks that are still active.
The migration will also help distributions evolve, e.g. Debian Bug report #1018466
Hi @tai271828, boto3 had not used nose for almost a year and a half. It looks like this issue was never closed though.
If there are still outstanding usages, you will need to engage Debian about upgrading to a more recent version. Thanks for checking in!