MCPcopy Create free account
hub / github.com/pallets/flask / test_g_iteration_protocol

Function test_g_iteration_protocol

tests/test_basic.py:1739–1744  ·  view source on GitHub ↗
(app_ctx)

Source from the content-addressed store, hash-verified

1737
1738
1739def test_g_iteration_protocol(app_ctx):
1740 flask.g.foo = 23
1741 flask.g.bar = 42
1742 assert "foo" in flask.g
1743 assert "foos" not in flask.g
1744 assert sorted(flask.g) == ["bar", "foo"]
1745
1746
1747def test_subdomain_basic_support():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected