Lars Kiesow
3371c2882f
Use Unittest Asserts
...
This patch switches to the assert statements provided by Python's unit
test framework to assure the statements are always executed and produce
proper error messages in case of test failures.
2020-01-29 00:10:33 +01:00
Henry Walshaw
66f8bdb45e
Fix errors from make test
...
One Python 2.7 error in the test (didn’t work for points)
Also fixed all the formatting errors raised by flake8
2019-07-29 10:24:02 +10:00
Henry Walshaw
9586e7bcf1
Add a unit test to confirm all coordinates
...
Make sure that all the required coordinates are in the GeoRSS string,
to avoid the mistake made earlier.
2019-07-08 15:39:33 +10:00
Henry Walshaw
b02278e536
Fix a really dumb formatting issue for the geom_interface
...
Use the old formatting tag instead of the new when creating geom text
from the geo_interface. Tests updated as well
2019-07-08 15:16:20 +10:00
Henry Walshaw
8cd50bf768
Add unit tests for simple GeoRSS
...
Also fix a couple of bugs that came up during testing - mostly making
sure that elevation, floor and radius are actually set as strings in
the XML
2019-07-08 14:58:21 +10:00
Henry Walshaw
d32487f2ed
Separate extensions as their own files
...
Give each extension its own test file. Primarily this is done to make
it easier to add some fixtures and extend the geo tests.
2019-07-08 13:49:56 +10:00