~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_nonascii.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 22:35:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1942.
  • Revision ID: john@arbash-meinel.com-20060816223521-73357694d4b7df0b
One field was incorrect, need text_sha1 not text_size

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
# Copyright (C) 2005 by 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
123
123
        # route, and maintains the right files
124
124
        files = [a_circle_c+'.1', a_dots_c+'.2', z_umlat_c+'.3']
125
125
        try:
126
 
            self.build_tree(files, line_endings='native')
 
126
            self.build_tree(files)
127
127
        except UnicodeError:
128
128
            raise TestSkipped("filesystem cannot create unicode files")
129
129
 
144
144
            finally:
145
145
                f.close()
146
146
            self.assertEqual(shouldbe, actual, 
147
 
                             'contents of %r is incorrect: %r != %r'
 
147
                             'contents of %s is incorrect: %r != %r'
148
148
                             % (path, shouldbe, actual))
149
149
 
150
150
    def test_access_non_normalized(self):