~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(vila) Make all transport put_bytes() raises TypeError when given unicode
 strings rather than bytes (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2012, 2016 Canonical Ltd
 
1
# Copyright (C) 2006-2010 Canonical Ltd
2
2
# Authors: Robert Collins <robert.collins@canonical.com>
3
3
#          and others
4
4
#
94
94
 
95
95
    def get_default_format(self):
96
96
        format = self.repository_format._matchingbzrdir
97
 
        self.assertEqual(format.repository_format, self.repository_format)
 
97
        self.assertEquals(format.repository_format, self.repository_format)
98
98
        return format
99
99
 
100
100
    def make_repository(self, relpath, shared=None, format=None):