def METHOD_NAME(self):
    spm = StagedPassManager(stages=["init"], pre_init=PassManager([Depth()]))
    self.assertEqual(
        [x.__class__.__name__ for passes in spm.passes() for x in passes["passes"]],
        ["Depth"],
    )