mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-19 04:32:28 +03:00
add TestEmptyType class
This commit is contained in:
parent
5d53627da3
commit
ebedc594b3
|
@ -40,6 +40,11 @@ utc = datetime.timezone.utc
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
|
|
||||||
|
|
||||||
|
class TestEmptyType:
|
||||||
|
def test_bool_method(self):
|
||||||
|
assert not bool(empty)
|
||||||
|
|
||||||
|
|
||||||
class TestIsSimpleCallable:
|
class TestIsSimpleCallable:
|
||||||
|
|
||||||
def test_method(self):
|
def test_method(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user