fedora-infra / kitchen

Useful snippets of python code
GNU Lesser General Public License v2.1
33 stars 17 forks source link

Fix for running unittests in travis #25

Closed abadger closed 6 years ago

abadger commented 6 years ago

unittests were failing in travis because Ubuntu14 needs to have locales generated for pt_BR and pt_BR.UTF8. Without those being generated, the system thinks those names are invalid locales and python defaults to ascii as the characterset.

This PR modifies the travis environment so that the needed locales are generated on Ubuntu and the unittests will then pass.