Rev 827: Add two more unicode tests that fail at the moment. in file:///data/jelmer/bzr-svn/0.4/

Jelmer Vernooij jelmer at samba.org
Fri Jan 18 04:05:52 GMT 2008


At file:///data/jelmer/bzr-svn/0.4/

------------------------------------------------------------
revno: 827
revision-id:jelmer at samba.org-20080108190226-6h88kvwze3hbgf37
parent: jelmer at samba.org-20071223033523-mrt0eeavzk53wku3
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Tue 2008-01-08 20:02:26 +0100
message:
  Add two more unicode tests that fail at the moment.
modified:
  tests/test_fetch.py            test_fetch.py-20070624210302-luvgwjmlfysk5qeq-1
=== modified file 'tests/test_fetch.py'
--- a/tests/test_fetch.py	2007-12-22 21:27:52 +0000
+++ b/tests/test_fetch.py	2008-01-08 19:02:26 +0000
@@ -1,4 +1,5 @@
 # Copyright (C) 2007 Jelmer Vernooij <jelmer at samba.org>
+# *-* coding: utf-8 *-*
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -20,7 +21,7 @@
 from bzrlib.bzrdir import BzrDir
 from bzrlib.repository import Repository
 from bzrlib.revision import NULL_REVISION
-from bzrlib.tests import TestSkipped
+from bzrlib.tests import TestSkipped, KnownFailure
 from bzrlib.trace import mutter
 
 from convert import load_dumpfile
@@ -140,6 +141,34 @@
         newrepos = dir.create_repository()
         oldrepos.copy_content_into(newrepos)
 
+    def test_fetch_special_char_child(self):
+        raise KnownFailure
+        repos_url = self.make_client('d', 'dc')
+        self.build_tree({u'dc/trunk/é/f\x2cle': "data"})
+        self.client_add("dc/trunk")
+        self.client_commit("dc", "My Message")
+        oldrepos = Repository.open(repos_url)
+        oldrepos.set_branching_scheme(TrunkBranchingScheme(1))
+        dir = BzrDir.create("f",format.get_rich_root_format())
+        newrepos = dir.create_repository()
+        oldrepos.copy_content_into(newrepos)
+
+    def test_fetch_special_char_modify(self):
+        raise KnownFailure
+        repos_url = self.make_client('d', 'dc')
+        self.build_tree({u'dc/trunk/€\x2c': "data"})
+        self.client_add("dc/trunk")
+        self.client_commit("dc", "My Message")
+        self.client_update("dc")
+        self.build_tree({u"dc/trunk/€\x2c": "bar"})
+        revno = self.client_commit("dc", "My Message2")[0]
+        oldrepos = Repository.open(repos_url)
+        oldrepos.set_branching_scheme(TrunkBranchingScheme(1))
+        dir = BzrDir.create("f",format.get_rich_root_format())
+        newrepos = dir.create_repository()
+        oldrepos.copy_content_into(newrepos)
+        self.assertEquals(2, revno)
+
     def test_fetch_delete(self):
         repos_url = self.make_client('d', 'dc')
         self.build_tree({'dc/foo/bla': "data"})




More information about the bazaar-commits mailing list