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

Method setup_move_learn_method_description_data

pokemon_v2/tests.py:880–892  ·  view source on GitHub ↗
(
        cls, move_learn_method, description="mv lrn mthd desc"
    )

Source from the content-addressed store, hash-verified

878
879 @classmethod
880 def setup_move_learn_method_description_data(
881 cls, move_learn_method, description="mv lrn mthd desc"
882 ):
883 language = cls.setup_language_data(name="lang for " + description)
884
885 move_learn_method_description = MoveLearnMethodDescription.objects.create(
886 move_learn_method=move_learn_method,
887 language=language,
888 description=description,
889 )
890 move_learn_method_description.save()
891
892 return move_learn_method_description
893
894 @classmethod
895 def setup_move_target_data(cls, name="mv trgt"):

Callers 1

Calls 1

setup_language_dataMethod · 0.80

Tested by

no test coverage detected