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

Method setup_characteristic_description_data

pokemon_v2/tests.py:1199–1209  ·  view source on GitHub ↗
(
        cls, characteristic, description="char desc"
    )

Source from the content-addressed store, hash-verified

1197
1198 @classmethod
1199 def setup_characteristic_description_data(
1200 cls, characteristic, description="char desc"
1201 ):
1202 language = cls.setup_language_data(name="lang for " + description)
1203
1204 characteristic_description = CharacteristicDescription.objects.create(
1205 characteristic=characteristic, language=language, description=description
1206 )
1207 characteristic_description.save()
1208
1209 return characteristic_description
1210
1211 # Nature Data
1212 @classmethod

Callers 1

Calls 1

setup_language_dataMethod · 0.80

Tested by

no test coverage detected