I've spent a few hours to find that unittest.TestCase.longMessage is False in python 2.7 and True in 2.6 and 3.x making my tests fail. To fixit in need to check in my test for the value of longMessage in the TestCase instance.
message = 'status_code is %s' if self.longMessage: message = 'False is not True : ' + message
Passionate Django developer with 10 years of experience on sites and apps for e-commerce, chat, picture sharing, CMS and blogs.
What else? Trains and yacht are also a great transportation way but don't fit well with cities.
How can a plant be illegal?