summaryrefslogtreecommitdiffstats
path: root/test/test_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ui.py')
-rw-r--r--test/test_ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_ui.py b/test/test_ui.py
index cae861480..a3f92b12e 100644
--- a/test/test_ui.py
+++ b/test/test_ui.py
@@ -937,7 +937,8 @@ class ConfigTest(unittest.TestCase, TestHelper, _common.Assertions):
config.write("library: /xxx/yyy/not/a/real/path")
with self.assertRaises(ui.UserError):
- self.run_command("test", lib=None)
+ with control_stdin("n"):
+ self.run_command("test", lib=None)
def test_user_config_file(self):
with self.write_config_file() as file: