def test_unique_together_is_required(self):
        data = {'code': 2}
        serializer = UniqueTogetherValidatorSerializer(data=data, partial=True)
        assert not serializer.is_valid()
        assert serializer.errors == {
            'name': ['This field is required.']
        }
Set the file source id
dataset/ETHPy150Open umutbozkurt/django-rest-framework-mongoengine/tests/test_validators.py/TestUniqueTogetherValidation.test_unique_together_is_required--crossover with--dataset/ETHPy150Open grantbrown/laspy/laspy/header.py/HeaderManager.set_filesourceid