<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px;">
<div style="font-family: Calibri, sans-serif;">I’ve noticed that in scenario tests only the OfficialClientTest in manager.py has a tearDownClass and was wondering if there is a reason for that?</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">In my scenario tests I need to ensure a particular connection gets closed after the test runs.  This connection is setup in setUpClass so it makes sense to me that it should also be closed in the tearDownClass.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">This is how I’m cleaning up now – but didn’t know if there is better way to do it.</div>
<div>
<div><font face="Courier New">    @classmethod</font></div>
<div><font face="Courier New">    def tearDownClass(cls):</font></div>
<div><font face="Courier New">        super(TestCSROneNet, cls).tearDownClass()</font></div>
<div><font face="Courier New">        if cls.nx_onep is not None:</font></div>
<div><font face="Courier New">            cls.nx_onep.disconnect()</font></div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Thanks </div>
<div style="font-family: Calibri, sans-serif;">Rich</div>
</body>
</html>