def tearDown(self):
if self.server:<EOL><INDENT>self.server.close()<EOL><DEDENT>if self.client:<EOL><INDENT>self.client.close()<EOL><DEDENT>XMPPSettings._defs['<STR_LIT>'].default = None<EOL>
Stop the server and client connections started.