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

Fixing testtsdb.py unit test #671

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ajkumarnv
Copy link

Some tests for testtsdb.py are failing occasionally as we are comparing the mock_urlopen call args against a string . json.dumps behavior is sometimes unpredictable so string comparison at times fails. Changed to code the do json.load from the args and compare it against the list rather than string

@ajkumarnv
Copy link
Author

Some tests for testtsdb.py are failing occasionally as we are comparing the mock_urlopen call args against a string . json.dumps behavior is sometimes unpredictable so string comparison at times fails. Changed to code the do json.load from the args and compare it against the list rather than string

@coveralls
Copy link

Coverage Status

Coverage remained the same at 24.667% when pulling 404ef10 on ajkumarnv:master into f2bece4 on python-diamond:master.

@coveralls
Copy link

coveralls commented Aug 7, 2017

Coverage Status

Coverage remained the same at 24.667% when pulling 404ef10 on ajkumarnv:master into f2bece4 on python-diamond:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants