]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Rename the ''CVS'' directory in the test data to ''ignored'', as quite a number of...
authorChristopher Lenz <cmlenz@gmail.com>
Wed, 7 Apr 2010 07:33:59 +0000 (07:33 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Wed, 7 Apr 2010 07:33:59 +0000 (07:33 +0000)
babel/messages/tests/data/mapping.cfg
babel/messages/tests/data/project/ignored/a_test_file.txt [moved from babel/messages/tests/data/project/CVS/a_test_file.txt with 100% similarity]
babel/messages/tests/data/project/ignored/an_example.txt [moved from babel/messages/tests/data/project/CVS/an_example.txt with 100% similarity]
babel/messages/tests/data/project/ignored/this_wont_normally_be_here.py [moved from babel/messages/tests/data/project/CVS/this_wont_normally_be_here.py with 100% similarity]
babel/messages/tests/frontend.py

index 314c77b156ab60d4253bd4c6a1ce684ebf8e8d70..48c1bb2489b0c1c3a0eaaf7aec4e5ec3998abf65 100644 (file)
@@ -1,5 +1,5 @@
-# Ignore CVS Dirs
-[ignore: **/CVS/**.*]
+# Ignore directory
+[ignore: **/ignored/**.*]
 
 # Extraction from Python source files
 [python: **.py]
index effcde2f145f578aaad39f53c017cb1373dfce5c..374b42e004e9b1ca353a7d51c5998e247fc0958f 100644 (file)
@@ -141,7 +141,7 @@ msgid_plural "foobars"
 msgstr[0] ""
 msgstr[1] ""
 
-#: project/CVS/this_wont_normally_be_here.py:11
+#: project/ignored/this_wont_normally_be_here.py:11
 msgid "FooBar"
 msgid_plural "FooBars"
 msgstr[0] ""
@@ -208,8 +208,8 @@ msgstr[1] ""
     def test_extraction_with_mapping_dict(self):
         self.dist.message_extractors = {
             'project': [
-                ('**/CVS/**.*', 'ignore',   None),
-                ('**.py',       'python',   None),
+                ('**/ignored/**.*', 'ignore',   None),
+                ('**.py',           'python',   None),
             ]
         }
         self.cmd.copyright_holder = 'FooBar, Inc.'
@@ -599,7 +599,7 @@ msgid_plural "foobars"
 msgstr[0] ""
 msgstr[1] ""
 
-#: project/CVS/this_wont_normally_be_here.py:11
+#: project/ignored/this_wont_normally_be_here.py:11
 msgid "FooBar"
 msgid_plural "FooBars"
 msgstr[0] ""