swift/test
Alistair Coles 2080f7dbd8 Fix tempauth acl checks when simplejson has no speedups
As documented in linked bug report, tempauth unit tests
were seen to fail on a system where simplejson was
installed but without the speedups extension. This
is because the tempauth account acl validation checks
that values are type str, but without the speedups
extension the json parser is returning unicode objects.

Fix is to have the acl validator tolerate those objects
being unicode or str.

Also change common/bufferedhttp.py to coerce ring device
to type str when constructing a path, in order to avoid
a UnicodeDecodeError when httplib sends a message that
has non-ascii header values.

Change-Id: I01524282cbaa25dc4b6dfa09f3f4723516cdba99
Closes-Bug: 1425776
2015-04-21 14:13:25 +01:00
..
functional Add additional func tests for TempURLs 2015-04-14 13:14:40 -07:00
probe Don't apply the wrong Etag validation to rebuilt fragments 2015-04-15 23:33:32 +01:00
unit Fix tempauth acl checks when simplejson has no speedups 2015-04-21 14:13:25 +01:00
__init__.py In-process swift server for functional tests 2014-04-29 08:45:11 -04:00
sample.conf Minor change to the service token sample test config 2015-02-27 11:54:50 +00:00