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

Fix unicode handling for property keys, layer names. #5

Merged
merged 5 commits into from
Sep 3, 2018

Conversation

zerebubuth
Copy link
Member

I'm pretty sure we shouldn't have unicode values for property keys or layer names, but looks like some slipped in somewhere and we're getting errors. This patch just makes sure that anywhere we're expecting a string we can also handle unicode by converting to UTF-8.

Also changes the test suite to be based on unittest, although it still only checks that the output is generated without error and the resulting tile is truthy. See #3 for future work on making the tests do more useful stuff, such as checking the content of the tiles.

Also adds a CircleCI config.

@zerebubuth zerebubuth merged commit 57e0f2f into master Sep 3, 2018
@zerebubuth zerebubuth deleted the zerebubuth/basic-unit-tests branch September 3, 2018 14:25
@zerebubuth
Copy link
Member Author

Thanks!

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.

2 participants