def METHOD_NAME(self):
    factory = self.replay_flight_data("test_directory_delete")
    p = self.load_policy(
        {
            "name": "delete-directory",
            "resource": "directory",
            "filters": [{"Name": "test.example.com"}],
            "actions": ["delete"],
        },
        session_factory=factory,
    )
    resources = p.run()
    self.assertEqual(len(resources), 1)
    self.assertEqual(
        sorted([r["Name"] for r in resources]),
        ["test.example.com"],
    )
    self.assertEqual(resources[0]["Stage"], "Creating")
    client = factory().client("ds")
    remainder = client.describe_directories()["DirectoryDescriptions"]
    self.assertEqual(len(remainder), 2)
    self.assertEqual(remainder[1]["Stage"], "Deleting")