Hi<div><br></div><div>I am having issues testing the constructor of a class that has a try/except block.</div><div><br></div><div>Should __init__ raise an exception so I can catch via self.assertRaises to make it easier to test? Or are there other ways </div>
<div>to make __init__ &quot;testable&quot;?</div><div><br></div><div>What is the way you guys use the most (or like the best) for testing __init__?</div><div><br></div><div><br></div><div><br></div><div>Thanks!</div><div>
<br></div><div><br clear="all"><br>-- <br>Alfredo Deza<br><br>
</div>