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

Refactor user directory tests #10935

Merged
merged 8 commits into from
Sep 30, 2021
Merged

Commits on Sep 28, 2021

  1. Pull out GetUserDirectoryTables helper

    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    18deeff View commit details
    Browse the repository at this point in the history
  2. Don't rebuild the dir in tests that don't need it

    In #10796 I changed registering a user to add directory entries under.
    This means we don't have to force a directory regbuild in to tests of
    the user directory search.
    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    1112098 View commit details
    Browse the repository at this point in the history
  3. Move test_initial to tests/storage

    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    707dc17 View commit details
    Browse the repository at this point in the history
  4. Add type hints to both test_user_directory files

    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    495c308 View commit details
    Browse the repository at this point in the history
  5. Changelog

    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    da6260c View commit details
    Browse the repository at this point in the history
  6. Workaround twisted type movement

    Olddeps looks to be using twisted 18.9.
    twisted/twisted:4cade8bb1e5ce45a86962fe2548470a413c8ce7a
    moved the location of `MemoryReactor` in 19.7, so we'll have to use the
    old import on olddeps.
    David Robertson committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    b7e3b9f View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Typo fix, thanks Rich

    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    David Robertson and richvdh authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    8dc90a7 View commit details
    Browse the repository at this point in the history
  2. Actually, just use twisted.test.proto_helpers

    David Robertson committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    9a3d35e View commit details
    Browse the repository at this point in the history