/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_transport_implementations.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-04-01 00:36:13 UTC
  • mfrom: (2692.1.26 bug-124089)
  • Revision ID: pqm@pqm.ubuntu.com-20080401003613-w51tu4gd3yqogm8s
Add root_client_path parameter to SmartWSGIApp and
        SmartServerRequest. (Andrew Bennetts, #124089)

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        self.assertEqual(True, t.has_any(['b', 'b', 'b']))
170
170
 
171
171
    def test_has_root_works(self):
 
172
        from bzrlib.smart import server
 
173
        if self.transport_server is server.SmartTCPServer_for_testing:
 
174
            raise TestNotApplicable(
 
175
                "SmartTCPServer_for_testing intentionally does not allow "
 
176
                "access to /.")
172
177
        current_transport = self.get_transport()
173
178
        self.assertTrue(current_transport.has('/'))
174
179
        root = current_transport.clone('/')