def tearDown(self): self.ref.unload() rapi.shutdown()
def tearDown(self): rapi.shutdown()
def test_shutdown(self): rapi.init(rapi.opts()) r = rapi.shutdown() self.assertIsNone(r)