diff --git a/swh/scheduler/tests/conftest.py b/swh/scheduler/tests/conftest.py --- a/swh/scheduler/tests/conftest.py +++ b/swh/scheduler/tests/conftest.py @@ -17,6 +17,9 @@ # celery_backend.config becomes the celery.current_app +# test_cli tests depends on a en/C locale, so ensure it +os.environ['LC_ALL'] = 'C.UTF-8' + DUMP_FILES = os.path.join(SQL_DIR, '*.sql') # celery tasks for testing purpose; tasks themselves should be