def test_getCurrentURL(self): """ Test the current URL of a file""" resource = XROOTStorage('storageName', self.parameterDict) res = resource.getCurrentURL("filename") self.assertEqual(True, res['OK']) self.assertEqual("protocol://host//path/filename", res['Value'])