~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revprops.py

Merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
class TestRevProps(TestCaseInTempDir):
9
9
    def test_simple_revprops(self):
10
10
        """Simple revision properties"""
11
 
        b = Branch.initialize('.')
 
11
        b = Branch.initialize(u'.')
12
12
        b.nick = 'Nicholas'
13
13
        props = dict(flavor='choc-mint', 
14
14
                     condiment='orange\n  mint\n\tcandy')
26
26
 
27
27
    def test_invalid_revprops(self):
28
28
        """Invalid revision properties"""
29
 
        b = Branch.initialize('.')
 
29
        b = Branch.initialize(u'.')
30
30
        self.assertRaises(ValueError,
31
31
                          b.working_tree().commit, 
32
32
                          message='invalid',