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

Method fields_are_valid

pokemon_v2/test_models.py:9–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7 Ability.objects.create(name="Smell", generation_id=3, is_main_series=True)
8
9 def fields_are_valid(self):
10 smell = Ability.objects.get(name="Smell")
11 self.assertEqual(smell.generation_id, 3)

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected