'Makes sure that we got the correct response from an layer
that can\'t be uploaded'

def check_invalid_projection(self, layer_name, resp, data):

    self.assertTrue(resp.code, 200)
    self.assertTrue(data['success'])
    self.assertEquals(upload_step('srs'), data['redirect_to'])
    (resp, soup) = self.client.get_html(data['redirect_to'])
    h2 = soup.find_all(['h2'])[0]
    self.assertTrue(str(h2).find(layer_name))
