def test_get_prd_spells_skips_letter_indices(self):
     spells = get_prd_spell_links()
     self.assertNotIn("A Spells", spells)
 def test_get_prd_spell_links_is_caseinsensitive(self):
     spells = get_prd_spell_links()
     self.assertIn("Adjuring Step", spells)
     self.assertIn("adjuring step", spells)
     self.assertIn("adJuring stEp", spells)
 def test_get_prd_spell_links_finds_adjuring_step(self):
     spells = get_prd_spell_links()
     self.assertIn("Adjuring Step", spells)
 def test_get_prd_spell_links_return_contains_foxs_cunning(self):
     spells = get_prd_spell_links()
     self.assertEqual(spells["Fox's Cunning"], "http://paizo.com/pathfinderRPG/prd/spells/foxSCunning.html#fox-s-cunning")
 def test_get_prd_spell_links_return_contains_absorbing_touch(self):
     spells = get_prd_spell_links()
     self.assertEqual(spells["Absorbing Touch"], "http://paizo.com/pathfinderRPG/prd/advanced/spells/absorbingTouch.html#absorbing-touch")
 def test_get_prd_spell_links_fetches_prd_spell_index(self):
     get_prd_spell_links()
     self.mock_get.assert_called_once_with('http://paizo.com/pathfinderRPG/prd/indices/spells.html')