Skip to content

Commit

Permalink
fix: replace mock module with unittest.mock (#668)
Browse files Browse the repository at this point in the history
* fix: replace mock module with unittest.mock

* fix: replace mock module in tests
  • Loading branch information
burningalchemist authored Jan 3, 2023
1 parent 9096bdb commit bb259e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform_compliance/common/error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from terraform_compliance.main import Step
import colorful
from ast import literal_eval
from mock import MagicMock
from unittest.mock import MagicMock
import os


Expand Down
2 changes: 1 addition & 1 deletion tests/terraform_compliance/steps/test_main_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)
from terraform_compliance.common.exceptions import TerraformComplianceNotImplemented, Failure
from tests.mocks import MockedStep, MockedWorld
from mock import patch
from unittest.mock import patch


class TestStepCases(TestCase):
Expand Down

0 comments on commit bb259e0

Please sign in to comment.