I'm trying to set up unit testing using testRunner.py as laid out here: http://www.web2pyslices.com/slice/show/1465/unittesting-doctesting-and-userinterface-testing . When I run the tests I'm getting this error:
AttributeError: 'thread._local' object has no attribute 'app' This is fixed if I change line 60 of testRunner.py from this: current.app.db=db to this: current.db=db But I'm not sure either why it throws the error in the first place or why this change fixes it. There's a 2-month old comment on the slice page asking about this but the author hasn't replied. I'm wondering whether this should be changed in testRunner? Or is there some app configuration that is skipped in the instructions? Ian

