~txaws-dev/txaws/trunk

« back to all changes in this revision

Viewing changes to txaws/server/tests/test_resource.py

  • Committer: Duncan McGreggor
  • Date: 2012-01-27 07:04:32 UTC
  • mfrom: (111.5.9 920302-python2.5-compat)
  • Revision ID: duncan@dreamhost.com-20120127070432-9ywtuw041cm5yh6y
Final missing chunk of Python 2.5 compatibility fixes. The others were
committed prematurely to trunk in r124 and r125.

Reviewed by: Stephon Striplin
Fixes: https://bugs.launchpad.net/txaws/+bug/920302

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        return str("%s - %s" % (error.code, safe_str(error.message)))
103
103
 
104
104
 
105
 
class QueryAPITest(TestCase):
 
105
class QueryAPITestCase(TestCase):
106
106
 
107
107
    def setUp(self):
108
 
        super(QueryAPITest, self).setUp()
 
108
        super(QueryAPITestCase, self).setUp()
109
109
        self.registry = Registry()
110
110
        self.registry.add(TestMethod, action="SomeAction", version=None)
111
111
        self.api = TestQueryAPI(registry=self.registry)