We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71489a6 commit 08c3f3bCopy full SHA for 08c3f3b
posthog/test/test_client.py
@@ -44,7 +44,11 @@ def test_requires_api_key(self):
44
45
def test_empty_flush(self):
46
self.client.flush()
47
-
+ def test_get_feature_flag_payload_deprecation_warning(self):
48
+ # This tells Python: "Expect a DeprecationWarning in the next line"
49
+ with self.assertWarns(DeprecationWarning):
50
+ self.client.get_feature_flag_payload("key", "distinct_id")
51
+
52
def test_basic_capture(self):
53
with mock.patch("posthog.client.batch_post") as mock_post:
54
client = Client(FAKE_TEST_API_KEY, on_error=self.set_fail, sync_mode=True)
0 commit comments