From: Armin Ronacher Date: Tue, 17 Jun 2008 21:56:50 +0000 (+0000) Subject: Updated catalog test case for last commit, flags are now tested too in the clone... X-Git-Tag: 1.0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75020b8a0ff46698d93dee1bcde0103ba4bcd94e;p=thirdparty%2Fbabel.git 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 index 40159805..e5ceb786 100644 --- a/babel/messages/tests/catalog.py +++ b/babel/messages/tests/catalog.py @@ -50,6 +50,8 @@ class MessageTestCase(unittest.TestCase): 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):