@classmethod
    def factory(cls, global_config, **local_config):
        return cls(**local_config)
Test that required PKStateFields throw appropriate errors.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/wsgi.py/Application.factory--crossover with--dataset/ETHPy150Open django/django-localflavor/tests/test_pk/tests.py/PKLocalflavorTests.test_required