[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)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 23 Apr 2022 15:26:04 +0000 (16:26 +0100)
commit85f93cca7aabb4538d226847c32fc72d90302be0
tree5040be34b806ec50988094457f26f5f3290e6694
parentb452a8acba1cdf45f56bf9573724a2fc22626e25
[PATCH] python tests: fix locale issues

It has been observed that manipulating locales in Debian
environement, 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/__init__.py
python/hawkey/tests/tests/base.py