'Test uploading a zipped shapefile with xml sidecar'

def test_zipped_upload_xml_sidecar(self):

    (fd, abspath) = self.temp_file('.zip')
    fp = os.fdopen(fd, 'wb')
    zf = ZipFile(fp, 'w')
    fpath = os.path.join(GOOD_DATA, 'vector', 'Air_Runways.*')
    for f in glob.glob(fpath):
        zf.write(f, os.path.basename(f))
    zf.close()
    self.upload_file(abspath, self.complete_upload, check_name='Air_Runways')
