Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Oct 3, 2018
1 parent 003325c commit 0189027
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ZPublisher/tests/testHTTPResponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,8 @@ def test_setBody_w_bogus_pseudo_HTML(self):

def test_setBody_tuple(self):
response = self._makeOne()
self.assertEqual(b"('a',)", response.setBody(('a',)))
response.setBody(('a',))
self.assertEqual(b"('a',)", response.body)

def test_setBody_calls_insertBase(self):
response = self._makeOne()
Expand Down

0 comments on commit 0189027

Please sign in to comment.