~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: John Arbash Meinel
  • Date: 2011-01-12 21:27:00 UTC
  • mto: This revision was merged to the branch mainline in revision 5605.
  • Revision ID: john@arbash-meinel.com-20110112212700-esqmtrmevddxrsq2
Clean up the test slightly, hoping to avoid race conditions, update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1821
1821
        t = self.get_readonly_transport()
1822
1822
        # No need to build a valid smart request here, the server will not even
1823
1823
        # try to interpret it.
 
1824
        medium = t.get_smart_medium()
1824
1825
        self.assertRaises(errors.SmartProtocolError,
1825
 
                          t.get_smart_medium().send_http_smart_request,
1826
 
                          'whatever')
 
1826
                          medium.send_http_smart_request, 'whatever')
 
1827
        medium.disconnect()
1827
1828
 
1828
1829
 
1829
1830
class Test_redirected_to(tests.TestCase):