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

Method setup_ability_change_data

pokemon_v2/tests.py:169–177  ·  view source on GitHub ↗
(cls, ability)

Source from the content-addressed store, hash-verified

167
168 @classmethod
169 def setup_ability_change_data(cls, ability):
170 version_group = cls.setup_version_group_data(name="ver grp for ablty chng")
171
172 ability_change = AbilityChange.objects.create(
173 ability=ability, version_group=version_group
174 )
175 ability_change.save()
176
177 return ability_change
178
179 @classmethod
180 def setup_ability_change_effect_text_data(

Callers 1

test_ability_apiMethod · 0.80

Calls 1

Tested by

no test coverage detected