[debian] fix: displaying wrong symbols among numbers in transaction outputs for systems without english encoding installed

This commit is contained in:
Vinicius Moreira
2022-04-07 12:42:49 -03:00
parent 6d29da6373
commit 8cea0318ac
3 changed files with 14 additions and 5 deletions

View File

@@ -97,8 +97,8 @@ Description: GNU C compiler
def test_show__all_attributes(self, execute: Mock):
info = self.aptitude.show(('firefox', 'gcc'))
execute.assert_called_once_with('aptitude show -q firefox gcc', shell=True,
custom_env=system.gen_env(global_interpreter=system.USE_GLOBAL_INTERPRETER,
lang=''))
custom_env={**system.gen_env(global_interpreter=system.USE_GLOBAL_INTERPRETER,
lang=''), 'LC_NUMERIC': ''})
expected = {
'firefox': {