'Test that the wcs links are correctly created for a raster'

def test_raster_upload(self):

    filename = os.path.join(gisdata.GOOD_DATA, 'raster/test_grid.tif')
    uploaded = file_upload(filename)
    wcs_link = False
    for link in uploaded.link_set.all():
        if (link.mime == 'image/tiff'):
            wcs_link = True
    self.assertTrue(wcs_link)
