Skip to content

Commit

Permalink
Different writing: Ok in Zope2 vs OK in Zope4
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens authored Mar 18, 2018
1 parent 7201b16 commit 763853e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plone/app/theming/tests/test_controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_upload_theme_file_nodata(self):
self.portal.absolute_url() + '/portal_resources/themeFileUpload',
'',
)
self.assertIn('Status: 200 Ok', str(self.browser.headers))
self.assertIn('Status: 200', str(self.browser.headers))
self.assertIn(
'{"failure": "error"}',
str(self.browser.contents)
Expand All @@ -81,7 +81,8 @@ def test_upload_theme_file_withdata(self):
# content_type='multipart/form-data; boundary=---blah---'

)
self.assertIn('Status: 200 Ok', str(self.browser.headers))
self.assertIn('Status: 200
', str(self.browser.headers))
self.assertIn(
'{"failure": "error"}', # TODO: Should be {'success':'create'}
str(self.browser.contents)
Expand Down

0 comments on commit 763853e

Please sign in to comment.