Fix Python 2.6 compatibility for unit tests.
Fix Python 2.6 compatibility for unit tests.

The newly-added tests used a couple of assert features that were only available
for Python 2.7. This change fixes that up.

Testing done:
Ran unit tests.

reviewboard/rbtools,reviewboard/rbtools,reviewboard/rbtools