(self)
| 238 | self.assertEqual(val_to_string(obj), string) |
| 239 | |
| 240 | def test_string_to_variant_localized_text(self): |
| 241 | string = "_This is my string" |
| 242 | # string = "_This is my nøåæ"FIXME: does not work with python2 ?!?! |
| 243 | obj = ua.LocalizedText(string) |
| 244 | self.assertEqual(string_to_val(string, ua.VariantType.LocalizedText), obj) |
| 245 | self.assertEqual(val_to_string(obj), string) |
| 246 | |
| 247 | def test_string_to_val_xml_element(self): |
| 248 | string = "<p> titi toto </p>" |
nothing calls this directly
no test coverage detected