def METHOD_NAME(self):
    with self.subTest("regular match"):
        self.assertEqual(match_totem("pac").get().key, "pacifism")
        self.assertEqual(match_totem("death").get().key, "death")
        self.assertFalse(match_totem("nonexistent"))
    with self.subTest("limited scope"):
        self.assertEqual(match_totem("pac", {"pacifism", "desperation"}).get().key, "pacifism")
        self.assertFalse(match_totem("death", {"pacifism", "desperation"}))