'HTML checkboxes do not send any value, but should be treated
as `False` by BooleanField.'

def test_empty_html_checkbox(self):

    class TestSerializer(serializers.Serializer, ):
        archived = serializers.BooleanField()
    serializer = TestSerializer(data=QueryDict(''))
    assert serializer.is_valid()
    assert (serializer.validated_data == {'archived': False})
