# HG changeset patch # User aronacher # Date 1213739810 0 # Node ID ad98cc9a7eec94933b709520488a6066f95a2566 # Parent 6ea52d9bdab1ef7196fa0f7bb895047c07a74273 Updated catalog test case for last commit, flags are now tested too in the clone test case. diff --git a/babel/messages/tests/catalog.py b/babel/messages/tests/catalog.py --- 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):