def METHOD_NAME(self):
    call_command('generateschema',
                 '--generator_class={}.{}'.format(__name__, CustomSchemaGenerator.__name__),
                 stdout=self.out)
    out_json = yaml.safe_load(self.out.getvalue())
    assert out_json == CustomSchemaGenerator.SCHEMA