[PATCH] python tests: fix locale issues
authorFrédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
Wed, 2 Dec 2020 10:30:10 +0000 (11:30 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 26 Aug 2024 15:44:33 +0000 (16:44 +0100)
commit0b6ffad0bfff8f62a7672a6f11a496e932b681b6
tree26c1185731a456562786621b6823dc0b5dffe2b6
parentbb6c0690ec5957da8ee97c722253002921254bee
[PATCH] python tests: fix locale issues

It has been observed that manipulating locales in Debian
environment, tests are failing.

======================================================================
ERROR: test_custom_querying (tests.test_reldep.Reldep)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/reprotest.wOQ8sL/build-experiment-1/build-experiment-1/python/hawkey/tests/tests/test_reldep.py", line 78, in test_custom_querying
    reldep = hawkey.Reldep(self.sack, u"\u0159 >= 3")
_hawkey.ValueException: Wrong reldep format: \u0159 >= 3

Gbp-Pq: Name 0013-python-tests-fix-locale-issues.patch
python/hawkey/tests/tests/base.py