MCPcopy Create free account
hub / github.com/bottlepy/bottle / close

Method close

test/test_plugins.py:215–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 class Plugin(object):
214 def __call__(self, func): return func
215 def close(self): self.closed = True
216 plugin = self.app.install(Plugin())
217 plugin2 = self.app.install(Plugin())
218 self.app.uninstall(plugin)

Callers 6

test_closeMethod · 0.45
tearDownClassMethod · 0.45
test_big_fileMethod · 0.45
urlopenMethod · 0.45
test_mime_gzipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected