summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/config/test_load.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/config/test_load.py b/tests/config/test_load.py
index 10a7f145d2..d8668d56b2 100644
--- a/tests/config/test_load.py
+++ b/tests/config/test_load.py
@@ -99,11 +99,7 @@ class ConfigLoadingFileTestCase(ConfigFileTestCase):
         self.generate_config()
         # Needed to ensure that actual key/value pair added below don't end up on a line with a comment
         self.add_lines_to_config([" "])
-        # Check that presence of "trust_identity_server_for_password" throws config error whether
-        # true or false
+        # Check that presence of "trust_identity_server_for_password" throws config error
         self.add_lines_to_config(["trust_identity_server_for_password_resets: true"])
         with self.assertRaises(ConfigError):
             HomeServerConfig.load_config("", ["-c", self.config_file])
-        self.add_lines_to_config(["trust_identity_server_for_password_resets: false"])
-        with self.assertRaises(ConfigError):
-            HomeServerConfig.load_config("", ["-c", self.config_file])