def _check_version(self, request):
        version = self._get_version(request)
        if version and version != self.version:
            raise Error('OAuth version %s not supported.' % str(version))
Test that the callable returned from as_view() has proper
dataset/ETHPy150Open ibagrak/algae/gae/libs/oauth2/__init__.py/Server._check_version--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/generic_views/base.py/ViewTest.test_class_attributes