Closed theduckylittle closed 7 years ago
@JorgeMartinezG can you help suggest the changes to make the tests on Python 3.5 and Elastic 5.0 work?
I think it is just related to how many items there are in the db (4 vs 5) in one test and how time is formatted in the new example.
@theduckylittle @ingenieroariel
https://github.com/theduckylittle/registry/blob/ee2121ccebf3b5cf5a93abb047df34f51267c6f3/test_registry.py#L379 The assertion must be changed to 5 because a new layer is added into the tests.
https://github.com/theduckylittle/registry/blob/ee2121ccebf3b5cf5a93abb047df34f51267c6f3/test_registry.py#L689 Is this line necessary? If yes, print in python 3 must be written as a function
@JorgeMartinezG - I'm not sure how the debugging statement I put in there got through, I'm usually not so sloppy, sorry! The counts being off puzzles me too as, locally, I thought I had all the tests running fine!
Both changes have been made and pushed.
@theduckylittle There is a conditionat to skip heatmap tests if elasticsearch version is not 5.1
Added a test case to ensure coverage of the OGC:WMS type + legend url code.