type on test case

This commit is contained in:
Luis San Pablo 2015-12-07 22:19:58 -06:00
parent 03c7f149ac
commit 4e5c57ab46

View File

@ -23,7 +23,7 @@ class TestSettings(TestCase):
Make sure user is alerted with an error when a removed setting
is set.
"""
with self.asserRaise(AttributeError):
with self.assertRaise(AttributeError):
APISettings({
'MAX_PAGINATE_BY': 100
})