mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
tools/ratbagctl.test.in: decode ratbagctl output with utf8 for the tests
The macros with their fancy characters need utf8, not ascii Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Benjamin Tissoires
parent
bb23f68d53
commit
0dd08dfb84
@@ -53,8 +53,8 @@ class TestRatbagCtl(unittest.TestCase):
|
||||
|
||||
(stdout, stderr) = ratbagctl.communicate()
|
||||
return (ratbagctl.returncode,
|
||||
stdout.decode('ascii').rstrip('\n'),
|
||||
stderr.decode('ascii').rstrip('\n'))
|
||||
stdout.decode('utf-8').rstrip('\n'),
|
||||
stderr.decode('utf-8').rstrip('\n'))
|
||||
|
||||
@classmethod
|
||||
def run_ratbagctl_fast(cls, params):
|
||||
|
||||
Reference in New Issue
Block a user