mirror of
https://github.com/scito/extract_otp_secret_keys
synced 2024-11-18 09:28:19 +00:00
fix pytest.skipif
This commit is contained in:
parent
1af6fe3161
commit
739ae4c012
@ -351,7 +351,7 @@ def test_normalize_bytes() -> None:
|
|||||||
'Before\\\\302\\\\277\\\\303\nname: enc: \\302\\277\\303\\244\\303\\204\\303\\251\\303\\211?\nAfter') == 'Before\\\\302\\\\277\\\\303\nname: enc: ¿äÄéÉ?\nAfter'
|
'Before\\\\302\\\\277\\\\303\nname: enc: \\302\\277\\303\\244\\303\\204\\303\\251\\303\\211?\nAfter') == 'Before\\\\302\\\\277\\\\303\nname: enc: ¿äÄéÉ?\nAfter'
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(sys.platform.startswith("win"), reason="Avoid encoding problems")
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Avoid encoding problems")
|
||||||
def test_extract_verbose(capsys: pytest.CaptureFixture[str], relaxed: bool) -> None:
|
def test_extract_verbose(capsys: pytest.CaptureFixture[str], relaxed: bool) -> None:
|
||||||
# Act
|
# Act
|
||||||
extract_otp_secrets.main(['-v', 'example_export.txt'])
|
extract_otp_secrets.main(['-v', 'example_export.txt'])
|
||||||
|
Loading…
Reference in New Issue
Block a user