diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-05-27 10:34:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 10:34:24 +0100 |
commit | fe5dad46b0da00e9757ed54eb23304ed3c6ceadf (patch) | |
tree | 2ffd69c5090852e49c60c4211e300519dc55b0bc /tests/config/test_tls.py | |
parent | Combine `LruCache.invalidate` and `invalidate_many` (#9973) (diff) | |
download | synapse-fe5dad46b0da00e9757ed54eb23304ed3c6ceadf.tar.xz |
Remove redundant code to reload tls cert (#10054)
we don't need to reload the tls cert if we don't have any tls listeners. Follow-up to #9280.
Diffstat (limited to '')
-rw-r--r-- | tests/config/test_tls.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/config/test_tls.py b/tests/config/test_tls.py index 183034f7d4..dcf336416c 100644 --- a/tests/config/test_tls.py +++ b/tests/config/test_tls.py @@ -74,12 +74,11 @@ s4niecZKPBizL6aucT59CsunNmmb5Glq8rlAcU+1ZTZZzGYqVYhF6axB9Qg= config = { "tls_certificate_path": os.path.join(config_dir, "cert.pem"), - "tls_fingerprints": [], } t = TestConfig() t.read_config(config, config_dir_path="", data_dir_path="") - t.read_certificate_from_disk(require_cert_and_key=False) + t.read_tls_certificate() warnings = self.flushWarnings() self.assertEqual(len(warnings), 1) |