~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_log.py

  • Committer: Patch Queue Manager
  • Date: 2016-02-01 19:56:05 UTC
  • mfrom: (6615.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20160201195605-o7rl92wf6uyum3fk
(vila) Open trunk again as 2.8b1 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2008-2011, 2016 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
18
18
"""Tests for log+ transport decorator."""
19
19
 
20
20
 
21
 
import types
22
 
 
23
21
from bzrlib import transport
24
22
from bzrlib.tests import TestCaseWithMemoryTransport
25
23
from bzrlib.trace import mutter
63
61
 
64
62
        result = logging_transport.readv('foo', [(0, 10)])
65
63
        self.assertTrue(getattr(result, 'next'))
66
 
        self.assertEquals(list(result),
 
64
        self.assertEqual(list(result),
67
65
            [(0, 'abcdefghij')])
68
66
 
69
67