Commit Graph

385 Commits

Author SHA1 Message Date
Taro Matsuzawa bf29fa0d90 WIP: test: revert package_extent issue 2021-01-07 13:02:39 +09:00
Taro Matsuzawa 1663e93d71 WIP: test: remove package_extent issue 2021-01-07 12:55:43 +09:00
Taro Matsuzawa 6c3c9f4046 WIP: test: added spatial_setup fixture 2021-01-07 12:47:19 +09:00
Taro Matsuzawa d7a2b7ed49 WIP: test: added harvest_setup fixture 2021-01-07 12:39:09 +09:00
Taro Matsuzawa c0626ccbe4 WIP: test: test_api use harvest_setup 2021-01-07 12:28:21 +09:00
Taro Matsuzawa 4cca5822e3 WIP: test: use harvest_setup 2021-01-07 11:52:46 +09:00
Taro Matsuzawa 26286fa385 WIP: test: use clean_db instead of spatial_clean_db 2021-01-07 11:42:53 +09:00
Taro Matsuzawa 14d98bc781 WIP: test: use {} instead of set() 2021-01-07 11:30:55 +09:00
Taro Matsuzawa eece0a89c2 WIP: test: remove package_extent before spatial_db_setup() 2021-01-07 11:08:40 +09:00
Taro Matsuzawa 0820b1929f WIP: test: added with_plugins 2021-01-06 23:03:22 +09:00
Taro Matsuzawa 4681706b83 WIP: remove spatial_ref_sys table in ckan's clean_db 2021-01-06 21:52:42 +09:00
Taro Matsuzawa 468ed052d9 WIP: test: added debug comment 2021-01-06 21:10:00 +09:00
Taro Matsuzawa 6e57837f9b WIP: test: remove spatial_ref_sys from metadata.tables 2021-01-06 20:53:25 +09:00
Taro Matsuzawa c46936a5e7 WIP: drop table spatial_ref_sys when drop extension postgis 2021-01-06 20:45:15 +09:00
Taro Matsuzawa f8e3b70897 WIP: test: setup only create extension 2021-01-06 19:03:55 +09:00
Taro Matsuzawa 50311ac610 WIP: added cascade option 2021-01-06 17:03:39 +09:00
Taro Matsuzawa 44e9ec0afb WIP: close all session before drop postgis extension 2021-01-06 16:32:38 +09:00
Taro Matsuzawa f11101659f WIP: reset_db will fail to drop table spatial_ref_sys, so use drop extension instead of drop table 2021-01-06 16:21:10 +09:00
Sergey Motornyuk 4b7cd9fca7 rename clean_db fixture 2020-05-06 16:21:08 +03:00
Sergey Motornyuk 123fc5a6fd Backport pytests 2020-05-06 15:19:21 +03:00
Sergey Motornyuk e84430a92d Install setuptools 2020-05-06 02:04:34 +03:00
Sergey Motornyuk 2420d62847 Fix import for nose tests 2020-05-06 01:20:21 +03:00
Sergey Motornyuk f7dc2bf40d Update tests 2020-05-03 20:28:33 +03:00
Sergey Motornyuk 63274022fd owslib==0.18.0 2020-04-15 02:34:45 +03:00
Sergey Motornyuk 03272a9cd5 Update tests 2020-04-15 02:20:30 +03:00
Sergey Motornyuk a58510a432 Remove builtins 2020-04-15 00:06:11 +03:00
Sergey Motornyuk 68a872a6cb remove future 2020-04-14 23:11:15 +03:00
Sergey Motornyuk 1e6f68990d Use 1.11 six api 2020-01-21 15:28:30 +02:00
Sergey Motornyuk ca35e7a971 Update encoding 2020-01-21 14:31:34 +02:00
Sergey Motornyuk 6060bc5cb4 Fix encoding for gemini harvester 2020-01-21 14:25:53 +02:00
Sergey Motornyuk a0fc527131 pylons config 2020-01-15 11:08:40 +02:00
Sergey Motornyuk 27057e0a39 IClick support 2019-12-13 16:48:20 +02:00
Sergey Motornyuk 93951db642 Add webassets.yml 2019-12-11 14:34:31 +02:00
Sergey Motornyuk e063522032 Futurize 2019-12-11 14:23:03 +02:00
Sergey Motornyuk 2803729263 Update commands 2019-12-11 14:22:28 +02:00
Sergey Motornyuk 2ab242ed97 Update views 2019-12-11 13:44:09 +02:00
Sergey Motornyuk 75a37f8ce4 Split plugins 2019-12-11 12:31:25 +02:00
Andres Vazquez f9eec070b6
I saw the languaje specified like this
Example [here](https://gitlab.com/datopian/ckan-ng-harvest/blob/develop/harvest/csw/samples/sample2.xml#L5-7).
```
<gmd:language>
    <gco:CharacterString>en</gco:CharacterString>
</gmd:language>
```

I'm not sure if this is ok with ISO but this CSW source is using it.
2019-09-16 09:16:15 -03:00
Jean Pommier 8bfed010c2 [harvest] fixes https://github.com/ckan/ckanext-spatial/issues/225 2019-08-22 11:30:47 +02:00
Bruce Bolt b0b6eebf5a The expected key may not be set - this stops a KeyError 2018-11-14 11:26:48 +00:00
Emanuele Tajariol 2acf66b110 #188 Add clean_tags option in harvester (#189)
* cleanup bad chars from tags in harvester

* cleanup bad chars from tags in harvester - do safer config read

* use munge_tag to clear tags, code cleanup

* restored default tag truncate

* tests for clean tags

* removed hack for IHarvester.info()

* #188 cleanup

* #188 #190 Add doc about harvester JSON config

* clean tags tests updated #188

* #188 test fixes

* #188 test fixes

* #188 test fixes

* #188 test fixes

* removed unused/bad code after review #188
2018-05-12 12:07:43 +02:00
Ross Jones e5da0a15c9
Fix broken tests
Tests were relying on _rest action calls which have now been removed in
master (and 2.8) and therefore tests were failing.

Makes the tests work, although there is probably some effort required in
determining why metadata_modified is not being returned from
package_show calls.

Also caches the pip output, and tests against newer versions of CKAN
2018-05-09 22:51:46 +01:00
Tyler Kennedy ee643094b1 Fix missing import in before_index
[Most] versions of shapely do not have `geometry` imported at the top level. Import it explicitly to prevent indexing errors instead of relying on import side-effects.
2017-09-11 11:03:53 -04:00
Mark Winterbottom d74d331019 Pep-8 2017-05-31 08:53:52 +01:00
Mark Winterbottom 011008b9c5 pep-8 improvements. 2017-05-30 16:57:04 +01:00
Mark Winterbottom b79bf51a05 Updated called to `resource_stream` to use __name__ in validation.py for consistency. 2017-05-30 16:20:22 +01:00
Mark Winterbottom 541e0cb9b9 Fixed relative path issue with resource_stream in api.py. 2017-05-30 16:04:38 +01:00
Mark Winterbottom c695370afc Fixed issue with template path. 2017-05-24 15:34:40 +01:00
Mark Winterbottom 4223cfe62f Fixed package reference for api controller. 2017-05-24 13:53:31 +01:00
Mark Winterbottom 711e9c8d2d Updated package name to 'ckanext.spatial.validation' to fix bug https://github.com/ckan/ckanext-spatial/issues/174 2017-05-24 13:39:32 +01:00