Skip to content

Commit

Permalink
test: Fixed deprecation warning in mako tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defnull committed Sep 5, 2024
1 parent f16a6d0 commit 157d844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mako.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_name(self):

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

def test_error(self):
""" Templates: Exceptions"""
Expand Down

0 comments on commit 157d844

Please sign in to comment.