MCPcopy
hub / github.com/django/django / terminate

Method terminate

django/test/testcases.py:1785–1791  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1783 )
1784
1785 def terminate(self):
1786 if self.is_ready.is_set():
1787 if hasattr(self, "httpd"):
1788 # Stop the WSGI server
1789 self.httpd.shutdown()
1790 self.httpd.server_close()
1791 self.join()
1792
1793
1794class LiveServerTestCase(TransactionTestCase):

Callers 3

runMethod · 0.80
_terminate_threadMethod · 0.80

Calls 2

is_setMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected