MCPcopy Index your code
hub / github.com/idank/explainshell / setUp

Method setUp

tests/test_web_views.py:360–369  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

358 )
359
360 def setUp(self):
361 self.app = create_app()
362 self.app.config["DEBUG"] = False
363 self.app.config["APP_VERSION"] = "deadbeef"
364 self.app.config["DB_SHA256"] = "abcdef0123456789fedcba9876543210"
365 self.store = Store.create(":memory:")
366 self.store.add_manpage(self._make_mp(), self._RAW)
367 _use_store(self.app, self.store)
368 self.app.config["TESTING"] = True
369 self.client = self.app.test_client()
370
371 _EXPECTED_ETAG = 'W/"abcdef0123456789-deadbeef"'
372 _EXPECTED_CC = (

Callers

nothing calls this directly

Calls 5

_make_mpMethod · 0.95
create_appFunction · 0.90
_use_storeFunction · 0.85
add_manpageMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected