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