~jeanfrancois.roy/bzr/url-safe-escape

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevprops.py

[merge] robertc's integration, updated tests to check for retcode=3

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    def test_simple_revprops(self):
10
10
        """Simple revision properties"""
11
11
        b = Branch.initialize('.')
 
12
        b.nick = 'Nicholas'
12
13
        props = dict(flavor='choc-mint', 
13
14
                     condiment='orange\n  mint\n\tcandy')
14
15
        b.working_tree().commit(message='initial null commit', 
19
20
        self.assertTrue('flavor' in rev.properties)
20
21
        self.assertEquals(rev.properties['flavor'], 'choc-mint')
21
22
        self.assertEquals(sorted(rev.properties.items()),
22
 
                          [('condiment', 'orange\n  mint\n\tcandy'),
 
23
                          [('branch-nick', 'Nicholas'), 
 
24
                           ('condiment', 'orange\n  mint\n\tcandy'),
23
25
                           ('flavor', 'choc-mint')])
24
26
 
25
27
    def test_invalid_revprops(self):