]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
move unit tests outside babel package
authorAlex Morega <alex@grep.ro>
Sat, 6 Jul 2013 10:16:33 +0000 (12:16 +0200)
committerAlex Morega <alex@grep.ro>
Sat, 6 Jul 2013 10:16:33 +0000 (12:16 +0200)
34 files changed:
.gitignore
conftest.py
tests/__init__.py [moved from babel/tests/__init__.py with 100% similarity]
tests/messages/__init__.py [moved from babel/messages/tests/__init__.py with 100% similarity]
tests/messages/data/mapping.cfg [moved from babel/messages/tests/data/mapping.cfg with 100% similarity]
tests/messages/data/project/__init__.py [moved from babel/messages/tests/data/project/__init__.py with 100% similarity]
tests/messages/data/project/file1.py [moved from babel/messages/tests/data/project/file1.py with 100% similarity]
tests/messages/data/project/file2.py [moved from babel/messages/tests/data/project/file2.py with 100% similarity]
tests/messages/data/project/i18n/de/LC_MESSAGES/messages.mo [moved from babel/messages/tests/data/project/i18n/de/LC_MESSAGES/messages.mo with 100% similarity]
tests/messages/data/project/i18n/de/LC_MESSAGES/messages.po [moved from babel/messages/tests/data/project/i18n/de/LC_MESSAGES/messages.po with 100% similarity]
tests/messages/data/project/i18n/de_DE/LC_MESSAGES/messages.po [moved from babel/messages/tests/data/project/i18n/de_DE/LC_MESSAGES/messages.po with 100% similarity]
tests/messages/data/project/i18n/messages.pot [moved from babel/messages/tests/data/project/i18n/messages.pot with 100% similarity]
tests/messages/data/project/i18n/messages_non_fuzzy.pot [moved from babel/messages/tests/data/project/i18n/messages_non_fuzzy.pot with 100% similarity]
tests/messages/data/project/i18n/ru_RU/LC_MESSAGES/messages.po [moved from babel/messages/tests/data/project/i18n/ru_RU/LC_MESSAGES/messages.po with 100% similarity]
tests/messages/data/project/ignored/a_test_file.txt [moved from babel/messages/tests/data/project/ignored/a_test_file.txt with 100% similarity]
tests/messages/data/project/ignored/an_example.txt [moved from babel/messages/tests/data/project/ignored/an_example.txt with 100% similarity]
tests/messages/data/project/ignored/this_wont_normally_be_here.py [moved from babel/messages/tests/data/project/ignored/this_wont_normally_be_here.py with 100% similarity]
tests/messages/data/setup.cfg [moved from babel/messages/tests/data/setup.cfg with 100% similarity]
tests/messages/data/setup.py [moved from babel/messages/tests/data/setup.py with 100% similarity]
tests/messages/test_catalog.py [moved from babel/messages/tests/test_catalog.py with 100% similarity]
tests/messages/test_checkers.py [moved from babel/messages/tests/test_checkers.py with 100% similarity]
tests/messages/test_extract.py [moved from babel/messages/tests/test_extract.py with 100% similarity]
tests/messages/test_frontend.py [moved from babel/messages/tests/test_frontend.py with 100% similarity]
tests/messages/test_mofile.py [moved from babel/messages/tests/test_mofile.py with 100% similarity]
tests/messages/test_plurals.py [moved from babel/messages/tests/test_plurals.py with 100% similarity]
tests/messages/test_pofile.py [moved from babel/messages/tests/test_pofile.py with 100% similarity]
tests/test_core.py [moved from babel/tests/test_core.py with 100% similarity]
tests/test_dates.py [moved from babel/tests/test_dates.py with 100% similarity]
tests/test_localedata.py [moved from babel/tests/test_localedata.py with 100% similarity]
tests/test_numbers.py [moved from babel/tests/test_numbers.py with 100% similarity]
tests/test_plural.py [moved from babel/tests/test_plural.py with 100% similarity]
tests/test_support.py [moved from babel/tests/test_support.py with 100% similarity]
tests/test_util.py [moved from babel/tests/test_util.py with 100% similarity]
tox.ini

index c1374bb762263c9dff266d63b5ac5d4b3c937787..d7bbe43fd09b075d4f25ddbf70dc9119ff5501e1 100644 (file)
@@ -10,6 +10,6 @@ dist
 .tox
 babel/global.dat
 babel/localedata/*.dat
-babel/messages/tests/data/project/i18n/long_messages.pot
-babel/messages/tests/data/project/i18n/temp.pot
-babel/messages/tests/data/project/i18n/en_US
+tests/messages/data/project/i18n/long_messages.pot
+tests/messages/data/project/i18n/temp.pot
+tests/messages/data/project/i18n/en_US
index 328728a7f931994b8f0773d263789d8f83021b96..e79c152240acb0f63d20f36290659bf7681efb5d 100644 (file)
@@ -1 +1 @@
-collect_ignore = ['babel/messages/tests/data']
+collect_ignore = ['tests/messages/data']
similarity index 100%
rename from babel/tests/__init__.py
rename to tests/__init__.py
similarity index 100%
rename from babel/tests/test_core.py
rename to tests/test_core.py
similarity index 100%
rename from babel/tests/test_util.py
rename to tests/test_util.py
diff --git a/tox.ini b/tox.ini
index 0f1a9db67790694c8f6b88a1f44954af6be0b28c..a787b8e71297245d588c4d08b4bdd4a4347fc504 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,4 +5,4 @@ envlist = py26, py27, pypy, py33
 deps =
     pytz
     pytest
-commands = py.test babel []
+commands = py.test babel tests []