Skip to content

Commit

Permalink
should_be_tainted does not know of TaintedString or TaintedBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha authored and Michael Howitz committed Apr 23, 2018
1 parent 7222546 commit a148831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZPublisher/tests/testHTTPRequest.py
Expand Up @@ -163,7 +163,7 @@ def _valueIsOrHoldsTainted(self, val):

if isinstance(val, TaintedString):
self.assertTrue(
should_be_tainted(val),
should_be_tainted(val._value),
"%r is not dangerous, no taint required." % val)
retval = 1

Expand Down

0 comments on commit a148831

Please sign in to comment.