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

Method setup_encounter_method_data

pokemon_v2/tests.py:1883–1887  ·  view source on GitHub ↗
(cls, name="encntr mthd", order=0)

Source from the content-addressed store, hash-verified

1881 # Encounter Data
1882 @classmethod
1883 def setup_encounter_method_data(cls, name="encntr mthd", order=0):
1884 encounter_method = EncounterMethod.objects.create(name=name, order=order)
1885 encounter_method.save()
1886
1887 return encounter_method
1888
1889 @classmethod
1890 def setup_encounter_method_name_data(cls, encounter_method, name="encntr mthd nm"):

Callers 5

test_pokemon_apiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected