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

Function test_check_updates_disable_warnings

tests/test_update_warnings.py:118–123  ·  view source on GitHub ↗
(
    without_warnings, httpbin, fetch_update_mock
)

Source from the content-addressed store, hash-verified

116
117
118def test_check_updates_disable_warnings(
119 without_warnings, httpbin, fetch_update_mock
120):
121 r = http(httpbin + '/get', env=without_warnings)
122 assert not fetch_update_mock.called
123 assert not check_update_warnings(r.stderr)
124
125
126def test_check_updates_first_invocation(

Callers

nothing calls this directly

Calls 2

httpFunction · 0.85
check_update_warningsFunction · 0.85

Tested by

no test coverage detected