def test_buildCaretValueForCoord(self): caret = builder.buildCaretValueForCoord(500) assert getXML(caret.toXML) == [ '<CaretValue Format="1">', ' <Coordinate value="500"/>', "</CaretValue>", ]
def test_buildCaretValueForCoord(self): caret = builder.buildCaretValueForCoord(500) self.assertEqual(getXML(caret.toXML), '<CaretValue Format="1">' ' <Coordinate value="500"/>' '</CaretValue>')