~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

(gz) Never raise KnownFailure in tests,
 use knownFailure method instead (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
1767
1767
                                     http_utils.ProxyDigestAuthServer):
1768
1768
            raise tests.TestNotApplicable('HTTP/proxy auth digest only test')
1769
1769
        if self._testing_pycurl():
1770
 
            raise tests.KnownFailure(
 
1770
            self.knownFailure(
1771
1771
                'pycurl does not handle a nonce change')
1772
1772
        self.server.add_user('joe', 'foo')
1773
1773
        t = self.get_user_transport('joe', 'foo')
1855
1855
        if self._testing_pycurl():
1856
1856
            import pycurl
1857
1857
            if pycurl.version_info()[1] < '7.16.0':
1858
 
                raise tests.KnownFailure(
 
1858
                self.knownFailure(
1859
1859
                    'pycurl < 7.16.0 does not handle empty proxy passwords')
1860
1860
        super(TestProxyAuth, self).test_empty_pass()
1861
1861