☰
Debian Codegraph
@
1.6.3-1
/
/
tests
/
test_docs
/
test_index.py
☽
☼
tests/test_docs/test_index.py
code
plain
raw
symbols
SCIP
Expat
2020 - 2026 Vitaliy Kucheryaviy <
[email protected]
>
debian/copyright
1
from
docs.src.index001
import
api
2
from
ninja.testing
import
TestClient
3
4
client =
TestClient
(api)
5
6
7
def
test_api
():
8
response = client.
get
(
"/add?a=1&b=2"
)
9
assert
response.
json
() == {
"result"
:
3
}