changeset 359:5b587612cb45 trunk

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 8f06f485a0f1
children 6cc92793c047
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):
Copyright (C) 2012-2017 Edgewall Software