Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
paolodamico committed May 5, 2021
1 parent faaaf78 commit 87018fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/api/test/test_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_capture_event(self, patch_process_event_with_plugins):
@patch("posthog.api.capture.celery_app.send_task")
def test_test_api_key(self, patch_process_event_with_plugins):
api_token = "test_" + self.team.api_token
data = {
data: Dict[str, Any] = {
"event": "$autocapture",
"properties": {
"distinct_id": 2,
Expand All @@ -115,7 +115,7 @@ def test_test_api_key(self, patch_process_event_with_plugins):
"distinct_id": "2",
"ip": "127.0.0.1",
"site_url": "http://testserver",
"data": {**data, "properties": {**data["properties"], "$test_environment": True,}},
"data": {**data, "properties": {**data["properties"], "$test_environment": True}},
"team_id": self.team.pk,
},
)
Expand Down

0 comments on commit 87018fc

Please sign in to comment.