MCPcopy Create free account
hub / github.com/httpie/cli / test_check_updates_first_invocation

Function test_check_updates_first_invocation

tests/test_update_warnings.py:126–131  ·  view source on GitHub ↗
(
    with_warnings, httpbin, fetch_update_mock
)

Source from the content-addressed store, hash-verified

124
125
126def test_check_updates_first_invocation(
127 with_warnings, httpbin, fetch_update_mock
128):
129 r = http(httpbin + '/get', env=with_warnings)
130 assert fetch_update_mock.called
131 assert not check_update_warnings(r.stderr)
132
133
134@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

httpFunction · 0.85
check_update_warningsFunction · 0.85

Tested by

no test coverage detected