Skip to content

Commit a8b9c16

Browse files
committed
[LINT-FIX]client.py and test_client.py
1 parent ff49914 commit a8b9c16

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

posthog/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def group_identify(
304304
timestamp=None,
305305
uuid=None,
306306
disable_geoip=None,
307-
distinct_id=None
307+
distinct_id=None,
308308
):
309309
properties = properties or {}
310310
context = context or {}

posthog/test/test_client.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,12 +758,19 @@ def test_advanced_group_identify(self):
758758

759759
def test_advanced_group_identify_with_distinct_id(self):
760760
success, msg = self.client.group_identify(
761-
"organization", "id:5", {"trait": "value"}, {"ip": "192.168.0.1"}, datetime(2014, 9, 3), "new-uuid", distinct_id="distinct_id"
761+
"organization",
762+
"id:5",
763+
{"trait": "value"},
764+
{"ip": "192.168.0.1"},
765+
datetime(2014, 9, 3),
766+
"new-uuid",
767+
distinct_id="distinct_id",
762768
)
763769

764770
self.assertTrue(success)
765771
self.assertEqual(msg["event"], "$groupidentify")
766772
self.assertEqual(msg["distinct_id"], "distinct_id")
773+
767774
self.assertEqual(
768775
msg["properties"],
769776
{

0 commit comments

Comments
 (0)