async def METHOD_NAME():
    async for machine, interface in maas.async_get_machine_interfaces(
            self.maas_client):
        if machine == self.machine1:
            self.assertIn(
                interface, (self.m1_interface1, self.m1_interface2))
        elif machine == self.machine2:
            self.assertIn(
                interface, (self.m2_interface1, self.m2_interface2))
        else:
            self.assertIn(machine, (self.machine1, self.machine2))