Mercurial > babel > old > babel-test
changeset 359:ad98cc9a7eec
Updated catalog test case for last commit, flags are now tested too in the clone test case.
author | aronacher |
---|---|
date | Tue, 17 Jun 2008 21:56:50 +0000 |
parents | 6ea52d9bdab1 |
children | 1c9b26fce1f2 |
files | babel/messages/tests/catalog.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/messages/tests/catalog.py +++ b/babel/messages/tests/catalog.py @@ -50,6 +50,8 @@ clone = msg.clone() clone.locations.append(('bar.py', 42)) self.assertEqual(msg.locations, [('foo.py', 42)]) + msg.flags.add('fuzzy') + assert not clone.fuzzy and msg.fuzzy class CatalogTestCase(unittest.TestCase):