@@ -33,7 +33,6 @@ def teardown_function():
3333 unstub ()
3434
3535
36- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
3736def test_parse_options_string (options , reporter ):
3837 results = []
3938 results .append (options ._parse ('method("arg1")' ))
@@ -72,7 +71,6 @@ def test_parse_options_string(options, reporter):
7271 verify_all ("Selenium options string to dict" , results , reporter = reporter )
7372
7473
75- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
7674def test_index_of_separator (options , reporter ):
7775 results = []
7876 results .append (options ._get_arument_index ('method({"key": "value"})' ))
@@ -82,7 +80,6 @@ def test_index_of_separator(options, reporter):
8280 verify_all ("Get argument index" , results , reporter = reporter )
8381
8482
85- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
8683def test_parse_complex_object (options , reporter ):
8784 results = []
8885 results .append (options ._parse_to_tokens ('method({"key": "value"})' ))
@@ -92,7 +89,6 @@ def test_parse_complex_object(options, reporter):
9289 verify_all ("Parse complex Python object" , results , reporter = reporter )
9390
9491
95- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
9692def test_parse_arguemnts (options , reporter ):
9793 results = []
9894 results .append (options ._parse_arguments (("arg1" ,), True ))
@@ -103,7 +99,6 @@ def test_parse_arguemnts(options, reporter):
10399 verify_all ("Parse arguments from complex object" , results , reporter = reporter )
104100
105101
106- @pytest .mark .skipif (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
107102@pytest .mark .skipif (sys .version_info > (3 , 11 ), reason = "Errors change with Python 3.12" )
108103def test_parse_options_string_errors (options , reporter ):
109104 results = []
@@ -116,7 +111,6 @@ def test_parse_options_string_errors(options, reporter):
116111 verify_all ("Selenium options string errors" , results , reporter = reporter )
117112
118113
119- @pytest .mark .skipif (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
120114@pytest .mark .skipif (sys .version_info < (3 , 12 ), reason = "Errors change with Python 3.12" )
121115def test_parse_options_string_errors_py3_12 (options , reporter ):
122116 results = []
@@ -129,7 +123,6 @@ def test_parse_options_string_errors_py3_12(options, reporter):
129123 verify_all ("Selenium options string errors" , results , reporter = reporter )
130124
131125
132- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
133126def test_split_options (options , reporter ):
134127 results = []
135128 results .append (options ._split ('method("arg1");method("arg2")' ))
@@ -143,7 +136,6 @@ def test_split_options(options, reporter):
143136 verify_all ("Selenium options string splitting" , results , reporter = reporter )
144137
145138
146- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
147139def test_options_create (options , reporter ):
148140 results = []
149141 options_str = 'add_argument("--disable-dev-shm-usage")'
@@ -175,15 +167,13 @@ def test_options_create(options, reporter):
175167 verify_all ("Selenium options" , results , reporter = reporter )
176168
177169
178- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
179170def test_get_options (options , reporter ):
180171 options_str = 'add_argument("--proxy-server=66.97.38.58:80")'
181172 sel_options = options .create ("chrome" , options_str )
182173 results = [sel_options .arguments ]
183174 verify_all ("Selenium options with string." , results , reporter = reporter )
184175
185176
186- @unittest .skipIf (WINDOWS , reason = "ApprovalTest do not support different line feeds" )
187177def test_importer (options , reporter ):
188178 results = []
189179 results .append (options ._import_options ("firefox" ))
0 commit comments