test(agent): make the fake pool's has_available keyword-only like the real one

A positional call would pass the fake but raise TypeError against the real
CredentialPool, which the diagnostic's suppress() would then swallow.
This commit is contained in:
kshitijk4poor
2026-09-24 17:27:09 +05:30
committed by kshitij
parent 2f9a14460c
commit 13141c6dcb

View File

@@ -43,7 +43,7 @@ class _Pool:
def has_credentials(self):
return True
def has_available(self, model=None):
def has_available(self, *, model=None):
return self._available