This commit is contained in:
Matthias Bisping 2022-04-13 13:17:23 +02:00
parent 6a7debde14
commit daa1da3a50

View File

@ -23,7 +23,7 @@ def test_validate_fail_xs_width_mismatch():
validate_box_coords(box)
def test_validate_fail_ys_width_mismatch():
def test_validate_fail_ys_height_mismatch():
box = {Info.WIDTH: 2, Info.HEIGHT: 3, Info.X1: 0, Info.Y1: 0, Info.X2: 2, Info.Y2: 4}
with pytest.raises(InvalidBox):
validate_box_coords(box)