fix #30: enforce utf-8 encoding

since windows used non-utf8-encoding
This commit is contained in:
u231053 2022-12-19 16:39:28 +01:00 committed by Roland Kurmann
parent 7af4017910
commit a51507b701
4 changed files with 6 additions and 7 deletions

View file

@ -140,7 +140,6 @@ Type: totp
self.assertEqual(actual_output, expected_output)
def test_extract_printqr(self):
if platform.startswith("win"): self.skipTest("This test is not supported on Windows.")
out = io.StringIO()
with redirect_stdout(out):
extract_otp_secret_keys.main(['-p', 'example_export.txt'])