changeset 460:5c5a0f3c93fa

Rename the ''CVS'' directory in the test data to ''ignored'', as quite a number of tools are configured or even hardcoded to ignore CVS directories. For example, I couldn't find a way to include the directory in the sdist tarball.
author cmlenz
date Wed, 07 Apr 2010 07:33:59 +0000
parents f99a5c8e79b0
children e58dac9a58e7
files babel/messages/tests/data/mapping.cfg babel/messages/tests/data/project/CVS/a_test_file.txt babel/messages/tests/data/project/CVS/an_example.txt babel/messages/tests/data/project/CVS/this_wont_normally_be_here.py babel/messages/tests/data/project/ignored/a_test_file.txt babel/messages/tests/data/project/ignored/an_example.txt babel/messages/tests/data/project/ignored/this_wont_normally_be_here.py babel/messages/tests/frontend.py
diffstat 5 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/tests/data/mapping.cfg
+++ b/babel/messages/tests/data/mapping.cfg
@@ -1,5 +1,5 @@
-# Ignore CVS Dirs
-[ignore: **/CVS/**.*]
+# Ignore directory
+[ignore: **/ignored/**.*]
 
 # Extraction from Python source files
 [python: **.py]
rename from babel/messages/tests/data/project/CVS/a_test_file.txt
rename to babel/messages/tests/data/project/ignored/a_test_file.txt
rename from babel/messages/tests/data/project/CVS/an_example.txt
rename to babel/messages/tests/data/project/ignored/an_example.txt
rename from babel/messages/tests/data/project/CVS/this_wont_normally_be_here.py
rename to babel/messages/tests/data/project/ignored/this_wont_normally_be_here.py
--- a/babel/messages/tests/frontend.py
+++ b/babel/messages/tests/frontend.py
@@ -141,7 +141,7 @@
 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 @@
     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 @@
 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] ""
Copyright (C) 2012-2017 Edgewall Software