Skip to content

Commit 79f92bb

Browse files
committed
Correct skip mark syntax
1 parent 6982dd4 commit 79f92bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/security_and_privacy/test_private_browser_password_doorhanger.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from platform import system
1+
import sys
22

33
import pytest
44
from selenium.webdriver import Firefox
@@ -21,7 +21,9 @@ def add_prefs():
2121
return [("signon.rememberSignons", True)]
2222

2323

24-
@pytest.mark.skipif(system == "Linux", reason="136.0b3 Linux security bustage")
24+
@pytest.mark.skipif(
25+
sys.platform.lower().startswith("linux"), reason="136.0b3 Linux security bustage"
26+
)
2527
def test_no_password_doorhanger_private_browsing(driver: Firefox):
2628
"""
2729
C101670: Ensure no save password doorhanger shows up and settings are correct

0 commit comments

Comments
 (0)