Adapted test to new behavior.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 27 Nov 2011 17:31:27 +0000 (17:31 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 27 Nov 2011 17:31:27 +0000 (17:31 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@1019 7aebc617-e5e2-0310-91dc-80fb5f6d2477

tests/test_wrvalidators.py

index 087d791ec43898f3eb6b89c032b75a61cb116219..3620adb3fcac847238cca79c35508ef01736e2e7 100644 (file)
@@ -62,7 +62,7 @@ def test_ValueCommentList():
     assert v.to_python(u'value (comment)') == [(u'value', u'comment')]
     assert v.to_python(u'value1 (comment); value2') == [(u'value1', u'comment'), (u'value2', None)]
     assert v.to_python(u'value1 (comment1); value2; value3 (comment3)') == [(u'value1', u'comment1'), (u'value2', None), ('value3', 'comment3')]
-    assert v.to_python(u'value1 (comment1); value2 (test (not easy))') == [(u'value1', u'comment1'), (u'value2', u'test (not easy)')]
+    assert v.to_python(u'value1 (comment1); [[link (linkcomment)]] (not easy)') == [(u'value1', u'comment1'), (u'[[link (linkcomment)]]', u'not easy')]
 
 
 def test_UrlNeinNone():