MCPcopy
hub / github.com/pallets/werkzeug / test_multi_value_submit

Function test_multi_value_submit

tests/test_test.py:644–652  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

642
643
644def test_multi_value_submit():
645 c = Client(multi_value_post_app)
646 data = {"field": ["val1", "val2"]}
647 resp = c.post("/", data=data)
648 assert resp.status_code == 200
649 c = Client(multi_value_post_app)
650 data = MultiDict({"field": ["val1", "val2"]})
651 resp = c.post("/", data=data)
652 assert resp.status_code == 200
653
654
655def test_iri_support():

Callers

nothing calls this directly

Calls 3

postMethod · 0.95
ClientClass · 0.90
MultiDictClass · 0.90

Tested by

no test coverage detected