def test_get_filesystem_mount_info(self): ''' Basic sanity checks on returned structure ''' mounts = tools.get_filesystem_mount_info() self.assertTrue(type(mounts) is dict) self.assertTrue(len(mounts.items()) > 0) self.assertTrue('/' in mounts) self.assertTrue('original_uuid' in mounts.get('/'))
def test_get_filesystem_mount_info(self): """ Basic sanity checks on returned structure """ mounts = tools.get_filesystem_mount_info() self.assertIsInstance(mounts, dict) self.assertGreater(len(mounts.items()), 0) self.assertIn('/', mounts) self.assertIn('original_uuid', mounts.get('/'))