def test_wrongoid(self):
with self.assertRaises(ValueError):
o=Oid("1.2.3.4.5.6.7.8.10.111.1111")
def test_wrongname(self):
with self.assertRaises(ValueError):
o=Oid("No such oid in the database")
def test_wrongoid(self):
with self.assertRaises(ValueError):
o=Oid("1.2.3.4.5.6.7.8.10.111.1111")
def test_wrongname(self):
with self.assertRaises(ValueError):
o=Oid("No such oid in the database")