Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add type hints to TestRatelimiter #14885

Merged
merged 4 commits into from
Jan 21, 2023
Merged

Commits on Jan 21, 2023

  1. Provide HomeserverTestCase clock when instantiating a Ratelimiter

    This prevents type failures when attempting to set the clock argument
    to something other than a Clock.
    anoadragon453 committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    685a548 View commit details
    Browse the repository at this point in the history
  2. Provide a fake token to instantiations of ApplicationService

    Fixes type hints (attempting to pass None as a str).
    anoadragon453 committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    30ae9d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c02ef17 View commit details
    Browse the repository at this point in the history
  4. changelog

    anoadragon453 committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    dc7051b View commit details
    Browse the repository at this point in the history