mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 22:21:13 +00:00
tests: fix checks when the locale is not the default one
Some tests (test_pbutils.py) checks against strings for the english locale, so we should force it before running any test https://bugzilla.gnome.org/show_bug.cgi?id=640207
This commit is contained in:
parent
fb8beea70a
commit
8c60dc788e
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ import unittest
|
||||||
|
|
||||||
SKIP_FILES = ['common', 'runtests']
|
SKIP_FILES = ['common', 'runtests']
|
||||||
|
|
||||||
|
os.environ['LC_MESSAGES'] = 'C'
|
||||||
|
|
||||||
def gettestnames(which):
|
def gettestnames(which):
|
||||||
if not which:
|
if not which:
|
||||||
dir = os.path.split(os.path.abspath(__file__))[0]
|
dir = os.path.split(os.path.abspath(__file__))[0]
|
||||||
|
|
Loading…
Reference in a new issue