Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor test case additions & lxml warning #10

Merged
merged 2 commits into from Jul 16, 2014
Merged

Conversation

IanLee1521
Copy link
Contributor

  • Added a few tests to show what kml is produced by adding a style to both a kml.Document and kml.Placemark. Also expose a few different ways to generate the same desired kml output string.
  • Added logger in fastkml.config which logs a warning if lxml is missing. This indicates that the pretty printing will not work (no newline / '\n' characters will be inserted). This was a tricky thing that took me a while to figure out why the newline characters were not being added to the output kml string.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) when pulling 3adddc9 on IanLee1521:master into 842c653 on cleder:master.

cleder added a commit that referenced this pull request Jul 16, 2014
Minor test case additions & lxml warning 
Thanks 8-)
@cleder cleder merged commit 90f7e6e into cleder:master Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants