forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -103,17 +103,6 @@ def test_each_mask_gives_its_text(mask: int) -> None:
|
||||
assert read_qr_image(segno_png(mask=mask)) == URL
|
||||
|
||||
|
||||
@pytest.mark.parametrize("scale", [1, 3, 8])
|
||||
@pytest.mark.parametrize("border", [0, 4])
|
||||
def test_each_scale_and_border_gives_its_text(scale: int, border: int) -> None:
|
||||
assert read_qr_image(segno_png(scale=scale, border=border)) == URL
|
||||
|
||||
|
||||
@pytest.mark.parametrize("scale", [1.37, 2.6, 4.5])
|
||||
def test_a_resize_by_a_fraction_gives_its_text(scale: float) -> None:
|
||||
assert read_qr_image(encode_png((0,), (255,), colour=0, scale=scale)) == URL
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"png",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user