From c48c0cfe8969b1a59f2a57336ab901fa1ab42d2f Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Tue, 27 Dec 2016 22:14:41 -0800 Subject: [PATCH] Fixed test. --- tests/test_terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_terminal.py b/tests/test_terminal.py index 06a937f..e4b0249 100644 --- a/tests/test_terminal.py +++ b/tests/test_terminal.py @@ -38,7 +38,7 @@ def test_terminal_properties(terminal, config): with mock.patch('rtv.terminal.sys') as sys, \ mock.patch.dict('os.environ', {'DISPLAY': ''}): sys.platform = 'darwin' - assert terminal.display is False + assert terminal.display is True terminal._display = None with mock.patch.dict('os.environ', {'DISPLAY': ':0', 'BROWSER': 'w3m'}):