20 Commits

Author SHA1 Message Date
ZhiQiang Fan
f72704fc82 Change OpenStack LLC to Foundation
Change-Id: I7c3df47c31759dbeb3105f8883e2688ada848d58
Closes-bug: #1214176
2013-09-20 01:02:31 +08:00
Dirk Mueller
3d36a76156 Use Python 3.x compatible except construct
except x,y: was deprected and is removed in Python 3.x.
Use "except x as y:" instead which works in any Python
version >= 2.6.

Change-Id: I7008c74b807340f3457d3a0c8bd0b83f23169d14
2013-09-07 10:50:54 +02:00
Peter Portante
c57f526f58 Pep8 the functionalnosetests tests (3 of 12)
Change-Id: Ia88356d6d36d1c4914f706652aaac5c840a79f13
Signed-off-by: Peter Portante <peter.portante@redhat.com>
2013-09-01 15:12:32 -04:00
Greg Lange
44f00a23c1 fixed some minor things in tests that pyflakes complained about
Change-Id: Ifeab56a964630bcf941e932fcbe39e6572e62975
2013-03-26 20:42:26 +00:00
Pete Zaitcev
35e07e2982 Permit functional tests against Swift with Keystone
While poking at such problems with authentication other than swauth
it was useful to allow stock functional tests running back-to-back
at two clusters, with tempauth and Keystone.

When running the legacy tests, this version packs account into user
the way it was down previously. This way we do not need to repack
them before every call to get_auth. The downside is additional work
to be done when setting ACLs.

Change-Id: Ieb1d9227cb88977ecd2c39825039bc4be8afae0b
2013-03-10 18:52:10 -06:00
David Hadas
40782ed20c Support tests for Apache
Add support for functional tests that work with Apache web front end

Change-Id: I72358a12016eeccc842d834461dbebaa188aa117
Implements: blueprint wsgi-application-interface
2013-03-07 01:32:16 +02:00
gholt
592d895e31 Reject names with NULL characters
Unfortunately, SQLite truncates strings with null characters.
Additionally, XML pretty much hates them too.

Change-Id: Id9a8eaa27b841db6350d6959c202d3e3d6462b35
2013-01-12 06:54:17 +00:00
gholt
9302c5ffc1 Fix permissions from last commit
Change-Id: I3bad8c2995d4daf1e7798fae2c59b409608cbc45
2012-12-14 18:06:29 +00:00
Sascha Peilicke
08a110bdbc Add a license header to functionalnosetests
Change-Id: I413d8bb9cbdea1f67ab2649ab0cc4a05a7a65883
2012-12-13 11:13:50 +01:00
Michael Barton
34ca0f097c give swob default content-type
This should fix up the few remaining API regressions from swob, by giving all
responses a default content-type of "text/html; charset=UTF-8".

Change-Id: Ib3b859e63c5e8c4af6f7fe535947402b5df57399
2012-11-09 10:44:26 -08:00
David Goetz
9be62bd9cd rolling back xml changes bzr merge -r319..318 2011-07-22 10:54:54 -07:00
gholt
082b324bc3 Update to comply with XML 1.1: No NULLs in names allowed; control chars are converted to entities (ex: &#x4;) 2011-06-17 00:57:00 +00:00
Clay Gerrard
2bbc9b3443 added functional test for copy, fixed bug in copy method 2010-12-28 13:33:36 -06:00
gholt
fa3c871f0b Server-side implementation for segmented objects 2010-11-16 15:35:39 -08:00
Clay Gerrard
208d7b8e00 fixed auth_copy bug, and early denial for proxy.server.ObjectController.COPY method; added tests 2010-11-04 14:39:29 -05:00
gholt
ce48a3c709 Fix tests; fix copy/auth problem 2010-11-03 14:06:30 -07:00
Clay Gerrard
dc5f0be414 added failing test for COPY from private container 2010-10-28 16:33:54 -05:00
gholt
d2ec027e22 For ACL strings: Shortened .ref to just .r, though .ref, .referer, and .referrer are all accepted. Updated 'Creating Your Own Auth Middleware' to describe how the DevAuth server works and suggestions for creating one's own. Added reseller_prefix (optional) implementation. Used urlparse in referrer_allowed. Fixed bug where group names would get lowercased by clean_acl. Changed .r:any to .r:*. Allowed .r:*.example.com to mean .r:.example.com. Made proxy log just the first authenticated group (the user) alongside the token. Moved proxy callback to clean_acl before the length check of the metadata. Cleaned up redundant logic in first proxy swift.authorize callback. Bit better docs. More and updated tests. 2010-09-08 22:37:27 -07:00
Clay Gerrard
2477744704 updated skipped functional tests to raise nose.SkipTest 2010-09-03 11:20:28 -05:00
gholt
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00