MCPcopy Index your code
hub / github.com/PokeAPI/pokeapi / setup_characteristic_data

Method setup_characteristic_data

pokemon_v2/tests.py:1190–1196  ·  view source on GitHub ↗
(cls, gene_mod_5=0, stat=None)

Source from the content-addressed store, hash-verified

1188 # Characteristic Data
1189 @classmethod
1190 def setup_characteristic_data(cls, gene_mod_5=0, stat=None):
1191 stat = stat or cls.setup_stat_data(name="stt for char")
1192
1193 characteristic = Characteristic.objects.create(stat=stat, gene_mod_5=gene_mod_5)
1194 characteristic.save()
1195
1196 return characteristic
1197
1198 @classmethod
1199 def setup_characteristic_description_data(

Callers 3

test_stat_apiMethod · 0.80

Calls 1

setup_stat_dataMethod · 0.80

Tested by

no test coverage detected