A number of TurboGears unit tests fail with AttributeError: 'TestResponse' object has no attribute 'cookies_set' This is due to an API change in python-webtest which was upgraded to 2.0 a while back (but after the last build of TurboGears happened). Relevant python-webtest change was: https://github.com/Pylons/webtest/commit/eb48bb98f9cfc69f7cbd9af572cdeaf9dca48a1b References to .cookies_set attribute need to be changed to .cookiejar instead. Unfortunately CookieJar implements only an iterable interface, not dict-like, so it's not just a straightforward rename...
Actually I misread the webtest patch. It looks like TestResponse.cookie_set was really never intended to be a public API. Instead there is TestApp.cookies (dict of name -> Cookie) and TestApp.cookiejar. So patching the TurboGears tests is pretty straightforward.
Filed upstream, for whatever that's worth: https://sourceforge.net/p/turbogears1/tickets/39/
Created attachment 1041581 [details] proposed patch
*** Bug 1239355 has been marked as a duplicate of this bug. ***
Luke, do you need any help maintaining the TurboGears package? I have applied for commit access to all branches in pkgdb.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
Just noticed that Luke has given me commit access so I will push the fix for this.
TurboGears-1.1.3-12.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-0a13921a00
TurboGears-1.1.3-12.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update TurboGears' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-0a13921a00
TurboGears-1.1.3-12.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.