def test_get_decorated_method_with_token(self):

        self.is_valid = True
        test_token = 'token'

        response = self.fetch('/', headers={'Authorization': test_token})

        self.assert_status_code(500, response)
        assert self.get_method.called
testConstructorNameArg
dataset/ETHPy150Open openpermissions/koi/tests/unit/auth/test_auth_decorator.py/TestAsyncWrongDecoratorOrder.test_get_decorated_method_with_token--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_table.py/TestTableFunctions.test_constructor_name_arg