def testCleanup(self): d='1.2.643.100.3' sn="SNILS" long_name="Russian Pension security number" o=create(d,sn,long_name) cleanup() with self.assertRaises(ValueError): x=Oid(sn)
def tearDown(self): # Always call cleanup before next test cleanup()