~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_log.py

  • Committer: Andrew Bennetts
  • Date: 2010-10-08 08:15:14 UTC
  • mto: This revision was merged to the branch mainline in revision 5498.
  • Revision ID: andrew.bennetts@canonical.com-20101008081514-dviqzrdfwyzsqbz2
Split NEWS into per-release doc/en/release-notes/bzr-*.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008-2011, 2016 Canonical Ltd
 
1
# Copyright (C) 2008, 2009, 2010 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
 
21
23
from bzrlib import transport
22
24
from bzrlib.tests import TestCaseWithMemoryTransport
23
25
from bzrlib.trace import mutter
61
63
 
62
64
        result = logging_transport.readv('foo', [(0, 10)])
63
65
        self.assertTrue(getattr(result, 'next'))
64
 
        self.assertEqual(list(result),
 
66
        self.assertEquals(list(result),
65
67
            [(0, 'abcdefghij')])
66
68
 
67
69