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

Moar tests #99

Closed
wants to merge 14 commits into from
Closed

Moar tests #99

wants to merge 14 commits into from

Conversation

SEJeff
Copy link
Member

@SEJeff SEJeff commented Dec 27, 2014

So I started working on py3k support, but since I was re-reminded of @brutasse's #70, I rebased and deleted those commits. Additionally, due to #98, which I also did, I rebase deleted those commits as @amosshapira took care of that first :)

Anyways, this brings up the total test coverage of whisper.py up from 67 --> 76%. I'll be slowly continuing to update this, but it can be merged now.

Also move the caught exceptions around os.unlink() to be more explicit
If you set whisper.CACHE_HEADERS to True and run whisper.info to
cache the headers, the cached version will always be used even if
whisper.CACHE_HEADERS is still used.
Once the coverage is a bit more up to spec, I can actually refactor
some of these bits and still sleep at night.
This was removed when I rebase removed my py3k support changes
as @brutasse opened graphite-project#70 long before I had this all ready to merge.
If there isn't an exception raised for any of the loops, it should
fail the test.
@SEJeff
Copy link
Member Author

SEJeff commented Dec 27, 2014

@brutasse, @esc, or @obfuscurity can you take a look at this?

To look at the coverage numbers, I'm doing this with master and my moar-tests branch:

coverage run test_whisper.py && coverage html && google-chrome htmlconv/index.htm

@SEJeff SEJeff closed this Dec 27, 2014
@SEJeff
Copy link
Member Author

SEJeff commented Dec 27, 2014

Re-opening after rebasing a bit and upping the coverage even further.

@SEJeff
Copy link
Member Author

SEJeff commented Dec 27, 2014

Replaced by #100

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

1 participant