def tearDown(self): close_objects(self.log_printer) sys.argv = self.old_argv
def tearDown(self): close_objects(self.log_printer)
def tearDown(self): Constants.user_coafile = self.original_user_coafile Constants.system_coafile = self.original_system_coafile close_objects(self.log_printer)
def test_close_objects(self): close_objects(None, 5) self.assertFalse(self.uut._closed) close_objects(self.uut) self.assertTrue(self.uut._closed)