File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2332,9 +2332,8 @@ class Config:
23322332 create_user_body = {"data" : {"attributes" : attrs }}
23332333
23342334 if inherit :
2335- app = self .build_app (self .inherit (UserSchemaWithValidator ))
2336- else :
2337- app = self .build_app (UserSchemaWithValidator )
2335+ UserSchemaWithValidator = self .inherit (UserSchemaWithValidator )
2336+ app = self .build_app (UserSchemaWithValidator )
23382337
23392338 async with AsyncClient (app = app , base_url = "http://test" ) as client :
23402339 url = app .url_path_for (f"get_{ self .resource_type } _list" )
@@ -2429,9 +2428,8 @@ class Config:
24292428 create_user_body = {"data" : {"attributes" : attrs }}
24302429
24312430 if inherit :
2432- app = self .build_app (self .inherit (UserSchemaWithValidator ))
2433- else :
2434- app = self .build_app (UserSchemaWithValidator )
2431+ UserSchemaWithValidator = self .inherit (UserSchemaWithValidator )
2432+ app = self .build_app (UserSchemaWithValidator )
24352433
24362434 async with AsyncClient (app = app , base_url = "http://test" ) as client :
24372435 url = app .url_path_for (f"get_{ self .resource_type } _list" )
You can’t perform that action at this time.
0 commit comments