TestingNode
4from scanapi.utils import validate_keys
5
6
7class TestingNode: 8 __test__ = False
9 SCOPE = "test"
10 ALLOWED_KEYS = (ASSERT_KEY, NAME_KEY)
SpecEvaluator
4from scanapi.evaluators.string_evaluator import StringEvaluator
5
6
7class SpecEvaluator: 8 def __init__(self, endpoint, spec_vars, extras=None, filter_responses=True):
9 self.endpoint = endpoint
10 self.registry = {}
CodeEvaluator
9from scanapi.errors import InvalidPythonCodeError
10
11
12class CodeEvaluator:13 python_code_pattern = re.compile(
14 r"(?P<something_before>\w*)"
15 r"(?P<start>\${{)"
Class docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.