diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-24 07:25:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 07:25:21 -0400 |
commit | bb7fdd821b07016a43bdbb245eda5b35356863c0 (patch) | |
tree | 090b0840e4ba0e6441ec5b4a79ad02d0b56b1be4 /tests/handlers/test_directory.py | |
parent | Factor out common code for persisting fetched auth events (#10896) (diff) | |
download | synapse-bb7fdd821b07016a43bdbb245eda5b35356863c0.tar.xz |
Use direct references for configuration variables (part 5). (#10897)
Diffstat (limited to 'tests/handlers/test_directory.py')
-rw-r--r-- | tests/handlers/test_directory.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/handlers/test_directory.py b/tests/handlers/test_directory.py index a0a48b564e..6a2e76ca4a 100644 --- a/tests/handlers/test_directory.py +++ b/tests/handlers/test_directory.py @@ -405,7 +405,9 @@ class TestCreateAliasACL(unittest.HomeserverTestCase): rd_config = RoomDirectoryConfig() rd_config.read_config(config) - self.hs.config.is_alias_creation_allowed = rd_config.is_alias_creation_allowed + self.hs.config.roomdirectory.is_alias_creation_allowed = ( + rd_config.is_alias_creation_allowed + ) return hs |