Skip to content

Commit 157d844

Browse files
committed
test: Fixed deprecation warning in mako tests
1 parent f16a6d0 commit 157d844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_mako.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_name(self):
2323

2424
def test_notfound(self):
2525
""" Templates: Unavailable templates"""
26-
self.assertRaises(Exception, MakoTemplate, name="abcdef")
26+
self.assertRaises(Exception, MakoTemplate, lookup=['./views/'], name="abcdef")
2727

2828
def test_error(self):
2929
""" Templates: Exceptions"""

0 commit comments

Comments
 (0)