~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-14 03:59:22 UTC
  • mto: (2733.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2734.
  • Revision ID: ian.clatworthy@internode.on.net-20070814035922-siavg542cwvkf4r5
Fix pretty doc generation so works for all html docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
    def test_invalid_http_urls(self):
205
205
        """Trap invalid construction of urls"""
206
206
        t = self._transport('http://bazaar-vcs.org/bzr/bzr.dev/')
207
 
        self.assertRaises(ValueError, t.abspath, '.bzr/')
208
 
        t = self._transport('http://http://bazaar-vcs.org/bzr/bzr.dev/')
209
207
        self.assertRaises((errors.InvalidURL, errors.ConnectionError),
210
 
                          t.has, 'foo/bar')
 
208
                          self._transport,
 
209
                          'http://http://bazaar-vcs.org/bzr/bzr.dev/')
211
210
 
212
211
    def test_http_root_urls(self):
213
212
        """Construction of URLs from server root"""