File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
examples/python/fastapi/postgres Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 9191 --error-format long \
9292 --variable SERVER_URL=http://127.0.0.1:${{ matrix.application-port }} \
9393 --test \
94- tests/crud.hurl
94+ tests/crud.hurl \
95+ tests/misc.hurl
9596
9697 - name : Show application logs
9798 if : failure()
Original file line number Diff line number Diff line change 33router = APIRouter ()
44
55
6- @router .get ('/v1/hello ' )
7- def greetings ():
8- return {"hello " : "world!" }
6+ @router .get ('/custom/route ' )
7+ def customRoute ():
8+ return { "custom " : True }
Original file line number Diff line number Diff line change 1+ #
2+ # Tests for various operations
3+ #
4+ # How to run:
5+ # hurl --variable SERVER_URL=http://127.0.0.1:3000 misc.hurl --test
6+ #
7+
8+
9+ # Custom route
10+ GET {{ SERVER_URL }}/custom/route
11+ HTTP 200
12+ [Asserts]
13+ jsonpath "$.custom" == true
You can’t perform that action at this time.
0 commit comments