idangazit/oauthlib — pull request #41 by marienz (2012-06-06 21:32:40+00:00)
Title: Improve tests, fixing issue #40

This makes the changes suggested in issue #40 to make a couple of tests not depend on the order of dicts. I've also made a second commit that replaces several assertTrue/assertFalse calls with more specific test methods. This second commit is completely optional, but it seemed an obvious improvement to make while I was there. This works when using cpython 2.7 or pypy 1.8 with or without unittest2 installed. I have not tested it with python 2.6, but I see no reason for it to fail as long as unittest2 is installed.