Revision f4f948c0 snf-pithos-app/pithos/api/test/views.py

b/snf-pithos-app/pithos/api/test/views.py
46 46
from urllib import quote
47 47

  
48 48
import django.utils.simplejson as json
49
from django.core.urlresolvers import reverse
50 49

  
51 50
import re
52 51
import datetime
......
127 126
        self.assertTrue('Location' in r)
128 127
        p = urlparse.urlparse(r['Location'])
129 128
        self.assertEqual(p.netloc, 'testserver')
130
        self.assertEqual(p.path, reverse('oa2_authenticate'))
129
        self.assertEqual(p.path, '/astakos/oauth2/auth')
131 130

  
132 131
        r = self.get(add_url_params(self.view_url, code='valid_code'),
133 132
                     follow=True)

Also available in: Unified diff