def test1_list_mountpoints(self): """ Test listing mount points on this platform """ try: mp = MountPoints() self.assertIsInstance(mp.keys(), list) except FileSystemError, emsg: print emsg return
def test1_list_mountpoints(self): """ Test listing mount points on this platform """ try: mp = MountPoints() self.assertIsInstance(mp.keys(), list) except FileSystemError as e: print('Error listing mountpoints: {0}'.format(e)) return