Skip to content

Commit

Permalink
Fix monkeypatch type
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Sep 8, 2024
1 parent 05d6ae7 commit 6bf126c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/test_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import pytest
from dbt_common.record import Diff
from tox.pytest import MonkeyPatch

Case = List[Dict[str, Any]]

Expand Down Expand Up @@ -202,7 +201,7 @@ def open_mock(file: str, *args: Any, **kwargs: Any) -> MockFile:
return open_mock


def test_calculate_diff_no_diff(monkeypatch: MonkeyPatch) -> None:
def test_calculate_diff_no_diff(monkeypatch: pytest.MonkeyPatch) -> None:
# Mock data for the files
current_recording_data = {
"GetEnvRecord": [
Expand Down Expand Up @@ -266,7 +265,7 @@ def test_calculate_diff_no_diff(monkeypatch: MonkeyPatch) -> None:
assert result == expected_result


def test_calculate_diff_with_diff(monkeypatch: MonkeyPatch) -> None:
def test_calculate_diff_with_diff(monkeypatch: pytest.MonkeyPatch) -> None:
# Mock data for the files
current_recording_data = {
"GetEnvRecord": [
Expand Down

0 comments on commit 6bf126c

Please sign in to comment.