mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-23 06:53:16 +03:00
type on test case
This commit is contained in:
parent
03c7f149ac
commit
4e5c57ab46
|
@ -23,7 +23,7 @@ class TestSettings(TestCase):
|
||||||
Make sure user is alerted with an error when a removed setting
|
Make sure user is alerted with an error when a removed setting
|
||||||
is set.
|
is set.
|
||||||
"""
|
"""
|
||||||
with self.asserRaise(AttributeError):
|
with self.assertRaise(AttributeError):
|
||||||
APISettings({
|
APISettings({
|
||||||
'MAX_PAGINATE_BY': 100
|
'MAX_PAGINATE_BY': 100
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user