Remove 'eo' artifacts when doing common/lib test runs

This commit is contained in:
Sarina Canelake
2014-11-20 16:55:21 -05:00
parent 62d129c7c7
commit 9a7338e5cb
3 changed files with 7 additions and 0 deletions

2
.gitignore vendored
View File

@@ -41,6 +41,8 @@ conf/locale/en/LC_MESSAGES/*.po
conf/locale/en/LC_MESSAGES/*.mo
conf/locale/fake*/LC_MESSAGES/*.po
conf/locale/fake*/LC_MESSAGES/*.mo
conf/locale/eo/LC_MESSAGES/*.po
conf/locale/eo/LC_MESSAGES/*.mo
conf/locale/messages.mo
### Testing artifacts

View File

@@ -191,6 +191,8 @@ def i18n_robot_pull():
if con.lower() == 'y':
sh('git add conf/locale')
# Explicitly add dummy translations
sh('git add -f conf/locale/eo/')
sh(
'git commit --message="Update translations '

View File

@@ -103,6 +103,9 @@ def test_lib(options):
test_suite = suites.PythonTestSuite('python tests', subsuites=lib_tests, **opts)
test_suite.run()
# Clear the Esperanto directory of any test artifacts
sh('git checkout conf/locale/eo')
@task
@needs(