~bzr/ubuntu/maverick/bzr-svn/bzr-ppa

« back to all changes in this revision

Viewing changes to tests/test_errors.py

  • Committer: Jelmer Vernooij
  • Date: 2008-05-11 19:29:26 UTC
  • mfrom: (220.36.144 0.4)
  • Revision ID: jelmer@samba.org-20080511192926-7mh02j45r25qmzkz
Merge 0.4 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
5
 
# the Free Software Foundation; either version 2 of the License, or
 
5
# the Free Software Foundation; either version 3 of the License, or
6
6
# (at your option) any later version.
7
7
 
8
8
# This program is distributed in the hope that it will be useful,
20
20
from bzrlib.tests import TestCase
21
21
 
22
22
from errors import (convert_svn_error, convert_error, InvalidPropertyValue, 
23
 
                    InvalidSvnBranchPath, NotSvnBranchPath, 
 
23
                    NotSvnBranchPath, InvalidSvnBranchPath,
24
24
                    SVN_ERR_UNKNOWN_HOSTNAME)
25
25
 
26
26
import svn.core
83
83
          "Invalid property value for Subversion property svn:foobar: corrupt", 
84
84
          str(error))
85
85
 
 
86
    def test_notsvnbranchpath_nonascii(self):
 
87
        NotSvnBranchPath('\xc3\xb6', None)
 
88
 
86
89
    def test_invalidsvnbranchpath_nonascii(self):
87
90
        InvalidSvnBranchPath('\xc3\xb6', None)
88
91
 
89
 
    def test_notsvnbranchpath_nonascii(self):
90
 
        NotSvnBranchPath('\xc3\xb6', None)