From 11dd980c64f30ec2447d654a8aa94211cfe4cc44 Mon Sep 17 00:00:00 2001 From: DevForge Engineer Date: Mon, 18 May 2026 18:18:41 -0400 Subject: [PATCH] fix: bypass license rate-limit check in tests via conftest Without CLICK_TO_MCP_NO_LICENSE, the config tests fail when the daily rate-limit (50 checks) is exceeded, blocking CI. Add conftest.py that sets the env var before all tests run. --- tests/conftest.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..4b95e75 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,7 @@ +"""Pytest configuration for click-to-mcp tests.""" + +import os + +# Bypass license/rate-limit check in tests. +# Without this, tests fail when the daily rate limit (50 checks) is exceeded. +os.environ.setdefault("CLICK_TO_MCP_NO_LICENSE", "1")