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

Add ResponseCache tests #9458

Merged
merged 8 commits into from
Mar 8, 2021

Commits on Mar 3, 2021

  1. add tests for response_cache.py

    make first argument to ResponseCache synapse.util.Clock instead of HomeServer, to make more accessible to tests
    + as a result, hs.get_clock() needs to be added in all places
    + and in some places, HomeServer type annotation should be added
    ShadowJonathan committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    95e9399 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aee352a View commit details
    Browse the repository at this point in the history
  3. news

    ShadowJonathan committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    f4549e3 View commit details
    Browse the repository at this point in the history
  4. alter type comment

    ShadowJonathan committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    4140f74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86e0e06 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b8edfef View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. apply review feedback

    - use tests.server.get_clock()
    - alter copyright (to matrix.org foundation)
    - move testcase function naming convention description to docstring
    - alter Cache instantiation a but to now happen in separate function (more readable)
    ShadowJonathan committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    e85409e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecac6ad View commit details
    Browse the repository at this point in the history