1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# (C) 2005 Canonical
"""Tests for revision properties."""
from bzrlib.branch import Branch
from bzrlib.selftest import TestCaseInTempDir
class TestRevProps(TestCaseInTempDir):
def test_simple_revprops(self):
"""Simple revision properties"""
b = Branch.initialize('.')
props = dict(flavor='choc-mint',
condiment='chilli')
b.commit(message='initial null commit',
revprops=props,
allow_pointless=True,
rev_id='test@user-1')
# TODO: Can't add non-string properties
# TODO: Properties are retrieved correctly
|