'make sure a csv upload fails gracefully/normally when not activated'

def test_csv(self):

    csv_file = self.make_csv(['lat', 'lon', 'thing'], ['-100', '-40', 'foo'])
    (layer_name, ext) = os.path.splitext(os.path.basename(csv_file))
    (resp, data) = self.client.upload_file(csv_file)
    self.assertTrue(('success' in data))
    self.assertTrue(data['success'])
    self.assertTrue(data['redirect_to'], '/upload/csv')
