20
19
self.assertTrue('flavor' in rev.properties)
21
20
self.assertEquals(rev.properties['flavor'], 'choc-mint')
22
21
self.assertEquals(sorted(rev.properties.items()),
25
23
('flavor', 'choc-mint')])
27
25
def test_invalid_revprops(self):
28
26
"""Invalid revision properties"""
30
28
self.assertRaises(ValueError,
33
31
revprops={'what a silly property': 'fine'})
34
32
self.assertRaises(ValueError,
37
35
revprops=dict(number=13))