MCPcopy
hub / github.com/PokeAPI/pokeapi / setup_pokemon_dex_entry_data

Method setup_pokemon_dex_entry_data

pokemon_v2/tests.py:1499–1507  ·  view source on GitHub ↗
(cls, pokemon_species, pokedex, entry_number=100)

Source from the content-addressed store, hash-verified

1497
1498 @classmethod
1499 def setup_pokemon_dex_entry_data(cls, pokemon_species, pokedex, entry_number=100):
1500 dex_number = PokemonDexNumber(
1501 pokemon_species=pokemon_species,
1502 pokedex=pokedex,
1503 pokedex_number=entry_number,
1504 )
1505 dex_number.save()
1506
1507 return dex_number
1508
1509 @classmethod
1510 def setup_pokemon_egg_group_data(cls, pokemon_species, egg_group):

Callers 2

test_pokedex_apiMethod · 0.80

Calls 1

PokemonDexNumberClass · 0.85

Tested by

no test coverage detected