Skip to content

Commit 571508c

Browse files
committed
formatting
1 parent 0fe729e commit 571508c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

tests/address_bar_and_search/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def set_prefs(add_prefs: dict):
2424
("browser.newtabpage.activity-stream.system.showSponsored", True),
2525
("browser.newtabpage.activity-stream.showSponsoredTopSites", True),
2626
("browser.topsites.useRemoteSetting", True),
27-
("browser.topsites.contile.enabled", True)
27+
("browser.topsites.contile.enabled", True),
2828
]
2929
prefs.extend(add_prefs)
3030
return prefs

tests/address_bar_and_search/test_tile_menu_options.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@
2929
)
3030

3131
REQUIRED_CONTEXT_MENU_ACTIONS_SPONSORED_TILE = set(
32-
["Open in a New Window", "Open in a New Private Window", "Dismiss", "Our sponsors & your privacy"]
32+
[
33+
"Open in a New Window",
34+
"Open in a New Private Window",
35+
"Dismiss",
36+
"Our sponsors & your privacy",
37+
]
3338
)
3439

3540
# first value in a tuple is the index of the card, second is the status of sponsorship
3641
card_indices = [(3, False), (0, True)]
3742

43+
3844
@pytest.fixture()
3945
def add_prefs():
4046
return [
@@ -80,6 +86,7 @@ def test_default_tile_hover_states(driver: Firefox):
8086
in ALLOWED_RGB_AFTER_VALUES_THREE_DOTS
8187
)
8288

89+
8390
@pytest.mark.parametrize("index, sponsored", card_indices)
8491
def test_tile_context_menu_options(driver: Firefox, index: int, sponsored: bool):
8592
"""

0 commit comments

Comments
 (0)