Ticket #299: test_storage_url.diff

File test_storage_url.diff, 0.7 kB (added by francois, 2 years ago)
  • coherence/backends/test_storage.py

    old new  
    361361                    item_id = str(item_id)+extension 
    362362 
    363363                if type in ('file','url'): 
    364                     new_item = Item(self.store[ROOT_CONTAINER_ID], item_id, name, location,self.urlbase + str(item_id)
     364                    new_item = Item(self.store[ROOT_CONTAINER_ID], item_id, name, location,location
    365365                elif type == 'gstreamer': 
    366366                    pipeline = item.get('pipeline') 
    367367                    try: