Skip to content
Snippets Groups Projects
Commit ad5add7d authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Ensure that tests run with the C.UTF-8 locale

Some database tests depend on the text returned by the SQL client, which
is localized. Forcing the C locale ensures the text gets output in
English.
parent b7d6c931
No related branches found
No related tags found
1 merge request!774Ensure that tests run with the C.UTF-8 locale
......@@ -56,6 +56,8 @@ from swh.web.tests.data import (
)
from swh.web.tests.utils import create_django_permission
os.environ["LC_ALL"] = "C.UTF-8"
# Used to skip some tests
ctags_json_missing = (
shutil.which("ctags") is None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment