Skip to content

Commit

Permalink
Fix test on python3 (now they insert unicode strings instead of b str…
Browse files Browse the repository at this point in the history
…ings)
  • Loading branch information
dwt committed May 17, 2018
1 parent 0a07b0b commit dc7fa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/tests/testManagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def test_Management__Navigation__manage_page_header__2(self):
def test_Management__Navigation__manage_page_header__3(self):
"""It respects `zmi_additional_css_paths` lines property."""
self.folder.manage_addProperty(
'zmi_additional_css_paths', ['/foo/bar.css', '/baz.css'], 'lines')
'zmi_additional_css_paths', ['/foo/bar.css', '/baz.css'], 'ulines')
self.assertIn('href="/foo/bar.css"', self.folder.manage_page_header())
self.assertIn('href="/baz.css"', self.folder.manage_page_header())

def test_Management__Navigation__manage_page_header__4(self):
"""It respects `zmi_additional_css_paths` ulines property."""
self.folder.manage_addProperty(
'zmi_additional_css_paths', ['/foo/bar.css', '/baz.css'], 'lines')
'zmi_additional_css_paths', ['/foo/bar.css', '/baz.css'], 'ulines')
self.assertIn('href="/foo/bar.css"', self.folder.manage_page_header())
self.assertIn('href="/baz.css"', self.folder.manage_page_header())

Expand Down

0 comments on commit dc7fa54

Please sign in to comment.