File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -661,7 +661,7 @@ def csv_record_to_objects(info):
661661 "name_icon" : file_path_or_none (
662662 f"types/{ generation } /{ game } /{ info [0 ]} .png"
663663 ),
664- "logo " : file_path_or_none (
664+ "symbol_icon " : file_path_or_none (
665665 f"types/{ generation } /{ game } /small/{ info [0 ]} .png"
666666 ),
667667 }
Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ def setup_type_sprites_data(cls, type):
732732 else :
733733 sprites [generation ][game ] = {
734734 "name_icon" : f"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/{ generation } /{ game } /{ type .id } .png" ,
735- "logo " : f"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/{ generation } /{ game } /small/{ type .id } .png" ,
735+ "symbol_icon " : f"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/{ generation } /{ game } /small/{ type .id } .png" ,
736736 }
737737
738738 type_sprites = TypeSprites .objects .create (
@@ -3661,8 +3661,8 @@ def test_type_api(self):
36613661 sprites_data [generation ][game ]["name_icon" ],
36623662 )
36633663 self .assertEqual (
3664- json .loads (response .data ["sprites" ])[generation ][game ]["logo " ],
3665- sprites_data [generation ][game ]["logo " ],
3664+ json .loads (response .data ["sprites" ])[generation ][game ]["symbol_icon " ],
3665+ sprites_data [generation ][game ]["symbol_icon " ],
36663666 )
36673667
36683668 # Pokedex Tests
You can’t perform that action at this time.
0 commit comments