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

[iis] review tests #1484

Merged
merged 1 commit into from
Mar 30, 2015
Merged

[iis] review tests #1484

merged 1 commit into from
Mar 30, 2015

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Mar 27, 2015

No description provided.

@yannmh yannmh self-assigned this Mar 27, 2015
@yannmh yannmh added this to the 5.3.0 milestone Mar 27, 2015

if __name__ == "__main__":
unittest.main()
# stdlib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really reaaaallllyyyyy nitpicky but mock in only in stdlib in Python 3.3+ I think, otherwise it's a 3p module.

@LeoCavaille
Copy link
Member

Nice thanks for rewriting this test 👍

LeoCavaille added a commit that referenced this pull request Mar 30, 2015
@LeoCavaille LeoCavaille merged commit bf54853 into master Mar 30, 2015
@LeoCavaille LeoCavaille deleted the yann/iis-review branch March 30, 2015 21:53
self.run_check_twice(config)

# Test metrics
for mname, _, _ in self.check.METRICS:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably put a copy of this list in the test.
Otherwise one may remove a metric accidentally and the test would still pass.

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