def tearDown(): testUtil.disconnectFromBroker(connection.connect_info) global connection connection.teardown() global httpd_thread httpd_thread.httpd.shutdown() httpd_thread.httpd.server_close() httpd_thread.join()
def teardown(self): testUtil.disconnectFromBroker(self.connect_info) self.service_agent.stop() self.broker.stop()
def disconnect(self): testUtil.disconnectFromBroker(self.connect_info)
def tearDown(): testUtil.disconnectFromBroker(connection.connect_info)