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

Set empty bytestring as default for tags #73

Conversation

jchristgit
Copy link
Contributor

When using links and not adding an explicit tag to the link entry, the library will default to using an empty string, whilst the protobuf package validates that this is a bytestring. This pull request adds two tests for adding links with explicit tags and without and changes the default link tag to an empty bytestring.

@coveralls
Copy link

coveralls commented Apr 17, 2019

Coverage Status

Coverage increased (+0.8%) to 92.32% when pulling b814f4a on jchristgit:set-bytes-default-for-tags into d5c55f3 on rambler-digital-solutions:master.

@jchristgit
Copy link
Contributor Author

jchristgit commented Apr 17, 2019

I'm a bit puzzled about the pipeline failure but it seems similar to an issue I had with testing locally (need to run DOCKER_CLUSTER=1 python setup.py test twice) and it also seems to be on master. I don't think this should affect 3.5 compatibility.

@singulared
Copy link
Collaborator

Thanks a lot! I have some ideas about your PR. And anyway, I should fix the test issue.

@singulared singulared merged commit 7f9dc12 into rambler-digital-solutions:master Apr 22, 2019
@singulared
Copy link
Collaborator

Added in 0.2.0 release.

@jchristgit jchristgit deleted the set-bytes-default-for-tags branch April 23, 2019 07:06
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.

3 participants