Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: firebase/firebase-admin-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: firebase/firebase-admin-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix-token-test-mock-time
Choose a head ref
  • 3 commits
  • 10 files changed
  • 2 contributors

Commits on Apr 10, 2025

  1. Added minimal support for sending FCM messages in async using HTTP/2 (#…

    …870)
    
    * httpx async_send_each prototype
    
    * Clean up code and lint
    
    * fix: Add extra dependancy for http2
    
    * fix: reset message batch limit to 500
    
    * fix: Add new import to `setup.py`
    jonathanedey authored Apr 10, 2025
    Configuration menu
    Copy the full SHA
    a4bc029 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2025

  1. Refactored retry config into _retry.py and added support for expone…

    …ntial backoff and `Retry-After` header (#871)
    
    * Refactored retry config to `_retry.py` and added support for backoff and Retry-After
    
    * Added unit tests for `_retry.py`
    
    * Updated unit tests for HTTPX request errors
    
    * Address review comments
    jonathanedey authored May 21, 2025
    Configuration menu
    Copy the full SHA
    acf955a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. Fix: Mock utcnow in token_gen tests for robust time handling

    Reverted previous timing adjustments for 'ExpiredTokenShort' and
    'ExpiredCookieShort' and their corresponding test assertion skews
    in tests/test_token_gen.py.
    
    Implemented mocking of `google.auth._helpers.utcnow` in:
    - TestVerifyIdToken.test_expired_token_with_tolerance
    - TestVerifySessionCookie.test_expired_cookie_with_tolerance
    
    This approach provides precise control over the 'current time' (`now`)
    used during token verification logic, making the tests deterministic
    and resilient to variations in execution speed (e.g., in PyPy).
    
    The tests now accurately check token expiration logic against
    defined clock skews without being affected by real-world timing
    of test execution. Original token expiration deltas (T-30s) and
    test skews are restored and correctly evaluated with mocked time.
    google-labs-jules[bot] committed May 27, 2025
    Configuration menu
    Copy the full SHA
    e66a890 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy