/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-22 18:09:04 UTC
  • mfrom: (2485.8.63 bzr.connection.sharing)
  • Revision ID: pqm@pqm.ubuntu.com-20070722180904-wy7y7oyi32wbghgf
Transport connection sharing

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"""