pytest-clerk 4.0.2__tar.gz → 4.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pytest-clerk
3
- Version: 4.0.2
3
+ Version: 4.0.3
4
4
  Summary: A set of pytest fixtures to help with integration testing with Clerk.
5
5
  License: MIT
6
6
  Author: Ryan Causey
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-clerk"
3
- version = "4.0.2"
3
+ version = "4.0.3"
4
4
  description = "A set of pytest fixtures to help with integration testing with Clerk."
5
5
  license = "MIT"
6
6
  readme = "README.md"
@@ -32,31 +32,31 @@ class ClerkRateLimiter:
32
32
  # limits.
33
33
  self.no_limit = object()
34
34
  self.backend_rate_limits = {
35
- # 20 requests per 10 seconds.
36
- "POST": {r"/v1/users": RateLimitItemPerSecond(amount=20, multiples=10)},
35
+ # 19 requests per 10 seconds.
36
+ "POST": {r"/v1/users": RateLimitItemPerSecond(amount=19, multiples=10)},
37
37
  # No rate limits.
38
38
  "GET": {r"/v1/jwks": self.no_limit},
39
- # 100 requests per 10 seconds.
40
- "DEFAULT": RateLimitItemPerSecond(amount=100, multiples=10),
39
+ # 99 requests per 10 seconds.
40
+ "DEFAULT": RateLimitItemPerSecond(amount=99, multiples=10),
41
41
  }
42
42
  self.frontend_rate_limits = {
43
43
  "POST": {
44
- # 3 requests per 10 seconds.
44
+ # 2 requests per 10 seconds.
45
45
  r"/v1/client/sign_ins/(?P<sign_in_id>.*?)/attempt_first_factor": RateLimitItemPerSecond(
46
- amount=3, multiples=10
46
+ amount=2, multiples=10
47
47
  ),
48
- # 3 requests per 10 seconds.
48
+ # 2 requests per 10 seconds.
49
49
  r"/v1/client/sign_ins/(?P<sign_in_id>.*?)/attempt_second_factor": RateLimitItemPerSecond(
50
- amount=3, multiples=10
50
+ amount=2, multiples=10
51
51
  ),
52
- # 3 requests per 10 seconds.
52
+ # 2 requests per 10 seconds.
53
53
  r"/v1/client/sign_ups/(?P<sign_up_id>.*?)/attempt_verification": RateLimitItemPerSecond(
54
- amount=3, multiples=10
54
+ amount=2, multiples=10
55
55
  ),
56
- # 5 requests per 10 seconds.
57
- r"/v1/client/sign_ins": RateLimitItemPerSecond(amount=5, multiples=10),
58
- # 5 requests per 10 seconds.
59
- r"/v1/client/sign_ups": RateLimitItemPerSecond(amount=5, multiples=10),
56
+ # 4 requests per 10 seconds.
57
+ r"/v1/client/sign_ins": RateLimitItemPerSecond(amount=4, multiples=10),
58
+ # 4 requests per 10 seconds.
59
+ r"/v1/client/sign_ups": RateLimitItemPerSecond(amount=4, multiples=10),
60
60
  }
61
61
  }
62
62
  self.storage = storage.MemoryStorage()
File without changes
File without changes