Hi Maru, Sorry I have been taking long to come to you on this, I have revived review 4529[1] which add the swift tests. I was talking to termie about it sometime ago and the way we decided to do is to skip the tests if Swift is not installed[2]. Feel free to add stubs as this is not ideal.
I was working as well on container-sync and anonymous requests but was not sure if this should go in for Folsom or for this release. Cheers, Chmouel. [1] https://review.openstack.org/#change,4529 [2] Ideally I would love to have swift.common.*/swiftclient go to another package but that's probably a discussion for Folsom summit. On Tue, Mar 20, 2012 at 3:33 AM, Maru Newby <mne...@internap.com> wrote: > I'd like to write unit tests for keystone.middleware.swift_auth in advance of > some functional changes (adding support for unauthenticated container sync > and referrer access). It appears that swift_auth lacks unit tests, though. > Is this due to its dependency on swift, or is there another reason? > > Given that untested code is difficult to maintain, what would the best option > be to add tests for swift_auth? Ideally the module would just move to the > swift repo, but if for some reason that's not an option, I'm prepared to use > stubs. > > Thanks, > > > Maru > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp