File: test_example_query_params2.py

package info (click to toggle)
pytest-httpserver 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 908 kB
  • sloc: python: 2,382; makefile: 77; sh: 21
file content (3 lines) | stat: -rw-r--r-- 165 bytes parent folder | download
1
2
3
def test_query_params(httpserver):
    expected_query = {"user": "user1"}
    httpserver.expect_request("/foo", query_string=expected_query).respond_with_data("OK")