[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>
Thu, 14 Nov 2024 12:17:18 +0000 (12:17 +0000)
commit86f19f8caddfc06a373f7ef6bf90d5da54a87648
tree187d8e5b465f972ba16d6e69439d93c1ac623d75
parent3bc5ce53edf943ca88f81de2a4d0ae634c5e43b8
[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