File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,30 +78,30 @@ def test_response_from_data_no_content_schema(any_property_factory):
7878 config .content_type_overrides = {}
7979 response , _schemas = response_from_data (
8080 status_code = status_code ,
81- data = data ,
82- schemas = Schemas (),
83- responses = {},
84- parent_name = "parent" ,
85- config = config ,
86- )
87-
81+ data = data ,
82+ schemas = Schemas (),
83+ responses = {},
84+ parent_name = "parent" ,
85+ config = config ,
86+ )
87+
8888 assert response == Response (
8989 status_code = status_code ,
90- content = [
91- MediaType (
92- content_type = "application/vnd.api+json; version=2.2" ,
93- prop = any_property_factory (
94- name = "response_200" ,
95- default = None ,
96- required = True ,
97- description = data .description ,
98- ),
99- source = JSON_SOURCE ,
100- data = data .content ["application/vnd.api+json; version=2.2" ],
101- )
102- ],
103- data = data ,
104- )
90+ content = [
91+ MediaType (
92+ content_type = "application/vnd.api+json; version=2.2" ,
93+ prop = any_property_factory (
94+ name = "response_200" ,
95+ default = None ,
96+ required = True ,
97+ description = data .description ,
98+ ),
99+ source = JSON_SOURCE ,
100+ data = data .content ["application/vnd.api+json; version=2.2" ],
101+ )
102+ ],
103+ data = data ,
104+ )
105105
106106
107107def test_response_from_data_property_error (mocker ):
You can’t perform that action at this time.
0 commit comments