~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_uifactory/__init__.py

  • Committer: Samuel Bronson
  • Date: 2012-08-30 20:36:18 UTC
  • mto: (6015.57.3 2.4)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: naesten@gmail.com-20120830203618-y2dzw91nqpvpgxvx
Update INSTALL for switch to Python 2.6 and up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
    def test_transport_activity(self):
102
102
        # It doesn't matter what the implementation does, we just want to make
103
103
        # sure the interface is there
104
 
        t = transport.get_transport_from_url('memory:///')
 
104
        t = transport.get_transport('memory:///')
105
105
        self.factory.report_transport_activity(t, 1000, 'write')
106
106
        self.factory.report_transport_activity(t, 2000, 'read')
107
107
        self.factory.report_transport_activity(t, 4000, None)
112
112
 
113
113
    def test_no_transport_activity(self):
114
114
        # No activity to report
115
 
        t = transport.get_transport_from_url('memory:///')
 
115
        t = transport.get_transport('memory:///')
116
116
        self.factory.log_transport_activity(display=True)
117
117
        self._check_log_transport_activity_display_no_bytes()
118
118