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

add fixture usage validator #8

Merged
merged 2 commits into from
Nov 24, 2020
Merged

Conversation

micheller
Copy link
Contributor

@@ -20,15 +20,12 @@ def _should_check(self) -> bool:

def _validate_assert_count(self, tree: ast.AST) -> None:
for node in ast.walk(tree):
if self._is_properly_node(node) is False:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the better solution is to move this method to BaseWatcher and override it if we need. I already suggested it in another PR

@mcproger mcproger merged commit 5f5b6a9 into best-doctor:master Nov 24, 2020
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.

2 participants