def METHOD_NAME(self):
    """A resource while not exists in test is not available anyway it exists
    in silx"""
    silx.resources.register_resource_directory("test", "silx.test.resources", forced_path=self.tmpDirectory)
    resource_name = "gui/icons/colormap.png"
    path = silx.resources.resource_filename('test:' + resource_name)
    path2 = silx.resources.resource_filename('silx:' + resource_name)
    self.assertFalse(os.path.exists(path))
    self.assertTrue(os.path.exists(path2))