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

Indicate non-coverage areas #148

Merged
merged 1 commit into from
Dec 24, 2014
Merged

Indicate non-coverage areas #148

merged 1 commit into from
Dec 24, 2014

Conversation

macro1
Copy link
Collaborator

@macro1 macro1 commented Dec 20, 2014

I marked the lines we don't plan on hitting in the primary test run (Django 1.7 on Python 3.4) with the 'no cover' coverage pragma and marked the reason for the compatability: The version of Django if that was the reason, or a short description if it was something else.

I also removed the compatibility we had for Django versions older than 1.4 that did not have the timezone util module.

@treyhunner
Copy link
Member

I don't think we should mark these as uncovered. If you run the tests with make test or on CI, 100% coverage should be displayed because appropriate versions/scenarios should be run.

@macro1
Copy link
Collaborator Author

macro1 commented Dec 23, 2014

Changes made. I think it's more straight-forward to worry about one version at a time, but I can see the merits in this as well.

@treyhunner
Copy link
Member

Looks good to me 🚢

macro1 added a commit that referenced this pull request Dec 24, 2014
@macro1 macro1 merged commit 7de8b1c into master Dec 24, 2014
@macro1 macro1 deleted the true-coverage branch December 24, 2014 02:42
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

2 participants