'A pair of FilePaths is returned for every loopback device on the
system.'

def test_parse_multiple_lines(self):

    input_text = '\n'.join(['/dev/loop0:    []:    (/tmp/rjw)', '/dev/loop1:    []:    (/usr/share/virtualbox/VBoxGuestAdditions.iso)', ''])
    self.assertEqual([(FilePath('/dev/loop0'), FilePath('/tmp/rjw')), (FilePath('/dev/loop1'), FilePath('/usr/share/virtualbox/VBoxGuestAdditions.iso'))], _losetup_list_parse(input_text))
