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

Method setup_item_attribute_name_data

pokemon_v2/tests.py:219–227  ·  view source on GitHub ↗
(cls, item_attribute, name="itm attr nm")

Source from the content-addressed store, hash-verified

217
218 @classmethod
219 def setup_item_attribute_name_data(cls, item_attribute, name="itm attr nm"):
220 language = cls.setup_language_data(name="lang for " + name)
221
222 item_attribute_name = ItemAttributeName.objects.create(
223 item_attribute=item_attribute, name=name, language=language
224 )
225 item_attribute_name.save()
226
227 return item_attribute_name
228
229 @classmethod
230 def setup_item_attribute_description_data(

Callers 1

Calls 1

setup_language_dataMethod · 0.80

Tested by

no test coverage detected