I've now got 54 pass, 676 skipped with
pipeline = proxy-logging memcache tempauth proxy-logging proxy-server
Could probably even ditch logging, but that'd get a bit painful to
debug.
Change-Id: I86bcd7a2373cf1e7213cb716888307306b7bb50d
Since Python 2.7, unittest in the standard library has included mulitple
facilities for skipping tests by decorators as well as an exception.
Switch to that directly, rather than importing nose.
Change-Id: I4009033473ea24f0d0faed3670db844f40051f30
Replacing six.iter usages substituting .items(), and
.values() in place of six.iteritems/dict.iteritems,
and six.itervalues/itervalues respectively.
1.As mentioned in [1], we should avoid using six.iteritems
to achieve iterators. We can use dict.items instead, as it
will return iterators in PY3 as well. And dict.items/keys
will more readable.
2.In py2, the performance about listshould be negligible,
see the link [2].
[1] https://wiki.openstack.org/wiki/Python3#Common patterns
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I53e3ed77c8279ac48f738e396672794300de440d
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.
test/functional/test_access_control.py
test/unit/common/middleware/crypto/test_keymaster.py
test/unit/obj/test_diskfile.py
Change-Id: I00adc968872ebe9f9c0619a4e393e048c7c1a91e
This patch adds test cases for info requests to accounts, containers
and objects using various combinations of users/projects, roles and/or
service tokens.
Change-Id: Iece57b03a73b3cdf9762573678755f361e9b803e
This patch adds test cases for requests to containers and objects using
various combinations of users/projects, roles in order to check container
ACL and referrer behavior.
Co-Authored-By: Keisuke Yamamoto <keisuk.yamamoto@jp.fujitsu.com>
Change-Id: I435655bc56e5088ba50a96a879a45c7e264e0d8d
This patch adds test cases for PUT, DELETE, GET, HEAD, POST and OPTIONS
requests to accounts, containers and objects using various combinations
of users/projects, roles and/or service tokens.
Change-Id: Iea8141ac74ad949a3ae7fa47fda3135d0f2612f6