diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-04-14 19:09:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 19:09:08 +0100 |
commit | 5a153772c197a689df6c087e49d7bd8beee5dbdd (patch) | |
tree | d87bd79d00c64e4cfb65555b52f5531ad6f06508 /tests/app | |
parent | Separate creating an event context from persisting it in the federation handl... (diff) | |
download | synapse-5a153772c197a689df6c087e49d7bd8beee5dbdd.tar.xz |
remove `HomeServer.get_config` (#9815)
Every single time I want to access the config object, I have to remember whether or not we use `get_config`. Let's just get rid of it.
Diffstat (limited to 'tests/app')
-rw-r--r-- | tests/app/test_openid_listener.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app/test_openid_listener.py b/tests/app/test_openid_listener.py index 276f09015e..264e101082 100644 --- a/tests/app/test_openid_listener.py +++ b/tests/app/test_openid_listener.py @@ -109,7 +109,7 @@ class SynapseHomeserverOpenIDListenerTests(HomeserverTestCase): } # Listen with the config - self.hs._listener_http(self.hs.get_config(), parse_listener_def(config)) + self.hs._listener_http(self.hs.config, parse_listener_def(config)) # Grab the resource from the site that was told to listen site = self.reactor.tcpServers[0][1] |