Remove debug code

This commit is contained in:
Alexis Métaireau 2023-10-24 18:51:14 +02:00
parent 2124f49e43
commit 7997e9bbcd

View file

@ -52,18 +52,13 @@ def parse_checks(value):
available_names = get_registered_checks().keys()
try:
for name, expected in value.items():
if name not in available_names:
msg = f"Check should be one of f{available_names}. ({name} given)"
raise ValueError(msg)
if isinstance(expected, int):
expected = str(expected)
return (name, expected)
except:
from ipdb import set_trace
set_trace() # noqa
for name, expected in value.items():
if name not in available_names:
msg = f"Check should be one of f{available_names}. ({name} given)"
raise ValueError(msg)
if isinstance(expected, int):
expected = str(expected)
return (name, expected)
class WebsitePath(BaseModel):