# jdkandersson/flake8-mock-spec

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/jdkandersson-flake8-mock-spec).**

4 stars · 0 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/jdkandersson/flake8-mock-spec
- awesome-repositories: https://awesome-repositories.com/repository/jdkandersson-flake8-mock-spec.md

## Description

Are you using mocks in your code and want to ensure that you are not accessing or calling methods that the mocked objects don't have? Using mocks incorrectly can lead to bugs in your code and falsely passing tests. To avoid this, flake8-mock-spec linter has been created to enforce the use of the…

## Tags

### Part of an Awesome List

- [Testing Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/testing-utilities.md) — Enforces the use of spec arguments in mocks.
