def METHOD_NAME(self):
    obj = ztpserver.types.String(["one", "two"])
    self.assertIsInstance(obj, ztpserver.types.String)
    self.assertEqual(repr(obj), "String(choices=one,two)")
    self.assertRaises(ValueError, obj, "three")