You don't have to do that. It's just the test framework they are using alongside HTTPretty in their examples.
You can just as easily use the traditional unittest.TestCase methods:
self.assertEqual(HTTPretty.last_request.querystring, "whatever")
self.assertEqual(HTTPretty.last_request.method, HTTPretty.GET)
That is what I do in my tests.