mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-08-06 22:18:36 +02:00
12 lines
401 B
Python
12 lines
401 B
Python
"""Regression tests for Dependabot compatibility constraints."""
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
def test_dependabot_blocks_opencv_releases_that_require_numpy_2() -> None:
|
|
config = Path(".github/dependabot.yml").read_text()
|
|
|
|
opencv_ignore = config.split('dependency-name: "opencv-python-headless"', maxsplit=1)[1]
|
|
assert '"<4.12"' not in opencv_ignore
|
|
assert '- ">=4.12"' in opencv_ignore
|