Revision 5ecaeaa6 snf-pithos-app/pithos/api/test/views.py

b/snf-pithos-app/pithos/api/test/views.py
80 80
        parts = list(urlsplit(r['Location']))
81 81
        qs = parse_qs(parts[3])
82 82
        self.assertTrue('next' in qs)
83
        self.assertEqual(qs['next'][0], self.view_url)
83
        self.assertEqual(qs['next'][0], join_urls(pithos_settings.BASE_HOST,
84
                                                  self.view_url))
84 85

  
85 86
    def test_versions(self):
86 87
        c = self.cname

Also available in: Unified diff