Skip to content

Commit a4f3c97

Browse files
committed
[py] missing parentheses for method call
1 parent 0d8a1ac commit a4f3c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/test/unit/selenium/webdriver/chrome/chrome_options_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ def test_get_experimental_options(options):
114114
def test_set_headless(options):
115115
options.headless = True
116116
assert '--headless' in options._arguments
117-
if platform.system().lower == 'windows':
117+
if platform.system().lower() == 'windows':
118118
assert '--disable-gpu' in options._arguments
119119

120120

121121
def test_unset_headless(options):
122122
options._arguments = ['--headless', '--disable-gpu']
123123
options.headless = False
124124
assert '--headless' not in options._arguments
125-
if platform.system().lower == 'windows':
125+
if platform.system().lower() == 'windows':
126126
assert '--disable-gpu' not in options._arguments
127127

128128

0 commit comments

Comments
 (0)