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

Function test_proxy_str

tests/test_local.py:398–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396
397
398def test_proxy_str():
399 _, p = _make_proxy("{act} %s")
400 assert p + " world" == "{act} %s world"
401 assert "say " + p == "say {act} %s"
402 assert p * 2 == "{act} %s{act} %s"
403 assert 2 * p == p * 2
404 assert p % ("world",) == "{act} world"
405 assert p.format(act="test") == "test %s"
406
407
408def test_proxy_list():

Callers

nothing calls this directly

Calls 1

_make_proxyFunction · 0.85

Tested by

no test coverage detected