/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: John Arbash Meinel
  • Date: 2006-09-12 15:23:25 UTC
  • mfrom: (2000.1.1 bug.59835)
  • mto: This revision was merged to the branch mainline in revision 2001.
  • Revision ID: john@arbash-meinel.com-20060912152325-08f75e88cc926c77
[merge] vila: fix bug #59835 with test

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        TestCaseWithWebserver.setUp(self)
136
136
        self._prep_tree()
137
137
 
 
138
    def test_bogus_host(self):
 
139
        from urllib2 import URLError
 
140
        t = self._transport('http://1.2.3.4.5.6.7.8/')
 
141
        self.assertRaises(URLError,
 
142
            t.has,
 
143
            'foo/bar')
138
144
 
139
145
 
140
146
class TestHttpConnections_pycurl(TestCaseWithWebserver, TestHttpMixins):