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

Make HttpTransportBase.get_smart_client return self again.

Move HTTP smart client code into http.py from smart.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        server = self.get_readonly_server()
131
131
        http_transport = self._transport(server.get_url())
132
132
        medium = http_transport.get_smart_medium()
133
 
        # XXX: this assert temporarily disabled while in development... so
134
 
        # use a weaker assertion instead. -- Andrew
135
 
        #self.assertTrue(medium is http_transport)
136
 
        from bzrlib.transport import smart
137
 
        self.assertTrue(isinstance(medium, smart.SmartClientMedium))
138
 
        
 
133
        self.assertTrue(medium is http_transport)
139
134
        
140
135
 
141
136
class TestHttpConnections_urllib(TestCaseWithWebserver, TestHttpMixins):