mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-10 08:36:37 +01:00
skip verbose tests for pypy
This commit is contained in:
parent
8ba4439305
commit
65c52f4d81
2 changed files with 4 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ import io
|
|||
from contextlib import redirect_stdout
|
||||
from utils import read_csv, read_json, remove_file, remove_dir_with_files, Capturing, read_file_to_str
|
||||
from os import path
|
||||
from sys import platform
|
||||
from sys import implementation
|
||||
|
||||
import extract_otp_secret_keys
|
||||
|
||||
|
|
@ -166,6 +166,7 @@ Type: totp
|
|||
self.assertTrue(path.isfile('testout/qr/4-piraspberrypi-raspberrypi.png'))
|
||||
|
||||
def test_extract_verbose(self):
|
||||
if implementation.name == 'pypy': self.skipTest("Encoding problems in verbose mode in pypy.")
|
||||
out = io.StringIO()
|
||||
with redirect_stdout(out):
|
||||
extract_otp_secret_keys.main(['-v', 'example_export.txt'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue