def METHOD_NAME(self):
    for part in for_each_partition(self.prog):
        path = os.path.join(b"/sys/class/block", part_name(part), b"dev")
        with open(path, "r") as f:
            expected = f.read().strip()
        devt = part_devt(part).value_()
        self.assertEqual(f"{MAJOR(devt)}:{MINOR(devt)}", expected)