Skip to content

Commit

Permalink
Remove mock as a dependency (#2985)
Browse files Browse the repository at this point in the history
* Remove mock as a dependency

unittest.mock is built into python3 so mock should not be needed.
This package is only for python3

* Update mock usage

* isort linter
  • Loading branch information
clickthisnick authored Nov 20, 2020
1 parent 3f640d7 commit 9a8a281
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ test =
# related tools/plugins but w/o ansible, which can be installed separated.
ansi2html >= 1.6.0

mock >= 4.0.2
pexpect >= 4.8.0, < 5
pytest-cov >= 2.10.1
pytest-helpers-namespace >= 2019.1.8
Expand Down
2 changes: 1 addition & 1 deletion src/molecule/test/unit/verifier/test_testinfra.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
# DEALINGS IN THE SOFTWARE.

import os
from unittest.mock import call

import pytest
from mock import call

from molecule import config, util
from molecule.verifier import testinfra
Expand Down

0 comments on commit 9a8a281

Please sign in to comment.