~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Robert Collins
  • Date: 2007-07-05 01:09:11 UTC
  • mto: This revision was merged to the branch mainline in revision 2592.
  • Revision ID: robertc@robertcollins.net-20070705010911-q93psu3cxxhn8isr
* New method ``external_url`` on Transport for obtaining the url to
  hand to external processes. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        t_b = t_a.clone('b')
136
136
        self.assertRaises(NoSuchFile, t_b.ensure_base)
137
137
 
 
138
    def test_external_url(self):
 
139
        """.external_url either works or raises InProcessTransport."""
 
140
        t = self.get_transport()
 
141
        try:
 
142
            t.external_url()
 
143
        except errors.InProcessTransport:
 
144
            pass
 
145
 
138
146
    def test_has(self):
139
147
        t = self.get_transport()
140
148