Skip to content

Commit

Permalink
Fix typos in test_runtime.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasValvekens committed Nov 11, 2024
1 parent 8e883ad commit 4deaf2a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions pyhanko_tests/cli_tests/test_runtime.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import os

from pyhanko.cli import cli_root
from pyhanko_tests.cli_tests.conftest import INPUT_PATH
from pyhanko_tests.samples import (
MINIMAL_AES256,
MINIMAL_HYBRID,
MINIMAL_SLIGHTLY_BROKEN,
)
from pyhanko_tests.samples import MINIMAL_AES256, MINIMAL_SLIGHTLY_BROKEN


def test_fail_read(cli_runner):
Expand Down Expand Up @@ -42,7 +36,7 @@ def test_fail_strict_mildly_broken(cli_runner):
assert "in strict mode; rerun" in result.output


def test_fail_strict_mildly_broken(cli_runner):
def test_succeed_strict_mildly_broken_nonstrict(cli_runner):
with open(INPUT_PATH, 'wb') as inf:
inf.write(MINIMAL_SLIGHTLY_BROKEN)
result = cli_runner.invoke(
Expand Down

0 comments on commit 4deaf2a

Please sign in to comment.