Skip to content

Commit

Permalink
fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Oct 18, 2024
1 parent 22298af commit 908e01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/cdp/templates/klaviyo/test_template_klaviyo.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_function_works(self):
)

def test_patch_existing_profile(self):
self.mock_fetch_response = lambda *args: {
self.mock_fetch_response = lambda *args: { # type: ignore
"status": 409,
"body": {
"errors": [
Expand All @@ -85,7 +85,7 @@ def test_patch_existing_profile(self):
}
]
},
} # type: ignore
}

# both requests will fail with error code 409
with pytest.raises(UncaughtHogVMException):
Expand Down

0 comments on commit 908e01d

Please sign in to comment.