def METHOD_NAME(self):
    expected_out = """info:
                        description: Example description
                        title: ExampleAPI
                        version: ''
                      openapi: 3.0.0
                      paths:
                        /:
                          get:
                            operationId: list
                      servers:
                      - url: http://api.example.com/
                      """
    call_command('generateschema',
                 '--title=ExampleAPI',
                 '--url=http://api.example.com',
                 '--description=Example description',
                 stdout=self.out)
    self.assertIn(formatting.dedent(expected_out), self.out.getvalue())