Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
fix deprecated import
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Jan 31, 2017
1 parent 325cdc8 commit 47b2dcd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/five/pt/tests/test_engine.py
Expand Up @@ -8,7 +8,7 @@

class TestPatches(Sandboxed, ZopeTestCase):
def afterSetUp(self):
from Products.Five import zcml
from Zope2.App import zcml
import five.pt
zcml.load_config("configure.zcml", five.pt)

Expand Down
2 changes: 1 addition & 1 deletion src/five/pt/tests/test_pagetemplate.py
Expand Up @@ -8,7 +8,7 @@

class TestPageTemplateFile(ZopeTestCase):
def afterSetUp(self):
from Products.Five import zcml
from Zope2.App import zcml
import five.pt
zcml.load_config("configure.zcml", five.pt)

Expand Down
4 changes: 2 additions & 2 deletions src/five/pt/tests/test_persistenttemplate.py
Expand Up @@ -47,7 +47,7 @@
""".strip()

repeat_object = """
<tal:loop repeat="counter python: range(3)"
<tal:loop repeat="counter python: range(3)"
content="python: repeat['counter'].index" />
""".strip()

Expand Down Expand Up @@ -103,7 +103,7 @@ def get_editable_content(template):

class TestPersistent(ZopeTestCase):
def afterSetUp(self):
from Products.Five import zcml
from Zope2.App import zcml
import five.pt
zcml.load_config("configure.zcml", five.pt)
self.setRoles(['Manager'])
Expand Down
2 changes: 1 addition & 1 deletion src/five/pt/tests/test_viewpagetemplatefile.py
Expand Up @@ -40,7 +40,7 @@ class MissingView(BrowserView):

class TestPageTemplateFile(ZopeTestCase):
def afterSetUp(self):
from Products.Five import zcml
from Zope2.App import zcml
import five.pt
zcml.load_config("configure.zcml", five.pt)

Expand Down

0 comments on commit 47b2dcd

Please sign in to comment.