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 ea01704 commit f2564c4Copy full SHA for f2564c4
posthog/test/test_client.py
@@ -1335,4 +1335,4 @@ def test_token_rollout_calculation(self):
1335
self.assertFalse(is_token_in_rollout(token, percentage - 0.2)) # Just below the hash value
1336
1337
# Test that the token exclusion works correctly
1338
- self.assertFalse(is_token_in_rollout(token, percentage=100.0, excluded_hashes=token_hash))
+ self.assertFalse(is_token_in_rollout(token, percentage=1.0, excluded_hashes={token_hash}))
0 commit comments