Revision 68122bae snf-astakos-app/astakos/oa2/tests/djangobackend.py
b/snf-astakos-app/astakos/oa2/tests/djangobackend.py | ||
---|---|---|
1 |
# -*- coding: utf8 -*- |
|
1 | 2 |
# Copyright 2013 GRNET S.A. All rights reserved. |
2 | 3 |
# |
3 | 4 |
# Redistribution and use in source and binary forms, with or |
... | ... | |
298 | 299 |
# valid request: untrusted client |
299 | 300 |
params = {'redirect_uri': self.client1_redirect_uri, |
300 | 301 |
'scope': self.client1_redirect_uri, |
301 |
'extra_param': '123'}
|
|
302 |
'extra_param': 'γιουνικοντ'}
|
|
302 | 303 |
self.client.set_credentials('client1', 'secret') |
303 | 304 |
r = self.client.authorize_code('client1', urlparams=params) |
304 | 305 |
self.assertEqual(r.status_code, 302) |
Also available in: Unified diff