Skip to content

Commit d035dbc

Browse files
author
ldx
committed
Update comment test to quote parameter value.
1 parent c3b6a9f commit d035dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iptc/test/test_matches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def tearDown(self):
216216
def test_comment(self):
217217
comment = "comment test"
218218
self.match.reset()
219-
self.match.comment = comment
219+
self.match.comment = "\"%s\"" % (comment)
220220
self.chain.insert_rule(self.rule)
221221
self.assertEquals(self.match.comment.replace('"', ''), comment)
222222

0 commit comments

Comments
 (0)