예제 #1
0
    def test_pythonvalue(self):
        instance = builtins.String()
        result = instance.pythonvalue("foobar")
        assert result == "foobar"

        result = instance.pythonvalue(" foo\tbar\r\n ")
        assert result == " foo\tbar\r\n "
예제 #2
0
 def test_xmlvalue(self):
     instance = builtins.String()
     result = instance.xmlvalue("foobar")
     assert result == "foobar"
예제 #3
0
 def test_pythonvalue(self):
     instance = builtins.String()
     result = instance.pythonvalue('foobar')
     assert result == 'foobar'