'HTML checkboxes do not send any value, but should be treated
as `False` by BooleanField, even if the field is required=False.'

def test_empty_html_checkbox_not_required(self):

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