MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_basic

Method test_basic

tests/test_postman_compiler.py:116–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114
115class TestExtractQueryParams:
116 def test_basic(self):
117 url = {'query': [{'key': 'page', 'value': '1', 'description': 'Page number'}]}
118 params = _extract_query_params(url)
119 assert len(params) == 1
120 assert params[0].name == 'page'
121 assert params[0].description == 'Page number'
122
123 def test_disabled(self):
124 url = {'query': [{'key': 'debug', 'value': 'true', 'disabled': True}]}

Callers

nothing calls this directly

Calls 1

_extract_query_paramsFunction · 0.90

Tested by

no test coverage detected