~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-18 02:51:19 UTC
  • mfrom: (4691.2.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090918025119-eqkrmtj09t2hqs2t
(robertc) Add test suite enforcement of BzrDir objects outside the
        test area. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1152
1152
    _transport = HttpTransport_urllib
1153
1153
 
1154
1154
    def _qualified_url(self, host, port):
1155
 
        return 'http+urllib://%s:%s' % (host, port)
 
1155
        result = 'http+urllib://%s:%s' % (host, port)
 
1156
        self.permit_url(result)
 
1157
        return result
1156
1158
 
1157
1159
 
1158
1160
 
1162
1164
    """Tests redirections for pycurl implementation"""
1163
1165
 
1164
1166
    def _qualified_url(self, host, port):
1165
 
        return 'http+pycurl://%s:%s' % (host, port)
 
1167
        result = 'http+pycurl://%s:%s' % (host, port)
 
1168
        self.permit_url(result)
 
1169
        return result
1166
1170
 
1167
1171
 
1168
1172
class TestHTTPRedirections_nosmart(TestHTTPRedirections,
1172
1176
    _transport = NoSmartTransportDecorator
1173
1177
 
1174
1178
    def _qualified_url(self, host, port):
1175
 
        return 'nosmart+http://%s:%s' % (host, port)
 
1179
        result = 'nosmart+http://%s:%s' % (host, port)
 
1180
        self.permit_url(result)
 
1181
        return result
1176
1182
 
1177
1183
 
1178
1184
class TestHTTPRedirections_readonly(TestHTTPRedirections,
1182
1188
    _transport = ReadonlyTransportDecorator
1183
1189
 
1184
1190
    def _qualified_url(self, host, port):
1185
 
        return 'readonly+http://%s:%s' % (host, port)
 
1191
        result = 'readonly+http://%s:%s' % (host, port)
 
1192
        self.permit_url(result)
 
1193
        return result
1186
1194
 
1187
1195
 
1188
1196
class TestDotBzrHidden(TestCaseWithTransport):