From a1a26aa30853210b2ebb8718f3ef4b5414fb7ead Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Fri, 15 Jul 2016 16:30:22 -0700 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 ef3808b..f584836 100644 --- a/tests/test_terminal.py +++ b/tests/test_terminal.py @@ -37,7 +37,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 True + assert terminal.display is False terminal._display = None with mock.patch.dict('os.environ', {'DISPLAY': ':0', 'BROWSER': 'w3m'}):