MCPcopy
hub / github.com/httpie/cli / start_session

Method start_session

tests/test_sessions.py:27–29  ·  view source on GitHub ↗

Create and reuse a unique config dir for each test.

(self, httpbin)

Source from the content-addressed store, hash-verified

25class SessionTestBase:
26
27 def start_session(self, httpbin):
28 """Create and reuse a unique config dir for each test."""
29 self.config_dir = mk_config_dir()
30
31 def teardown_method(self, method):
32 shutil.rmtree(self.config_dir)

Calls 1

mk_config_dirFunction · 0.85

Tested by

no test coverage detected