refactor: drop unused css=None parameters in 3 CSS test functions
test_css_session_grid, test_css_tile_height, and test_css_bell_indicator each declared a css=None parameter that was immediately overwritten with read_css(). The parameter was dead API surface — never passed by any caller. Removed the parameter from all three signatures.
This commit is contained in:
@@ -20,19 +20,19 @@ def test_css_design_tokens():
|
|||||||
assert "--t-zoom:" in css
|
assert "--t-zoom:" in css
|
||||||
|
|
||||||
|
|
||||||
def test_css_session_grid(css=None):
|
def test_css_session_grid():
|
||||||
css = read_css()
|
css = read_css()
|
||||||
assert "auto-fill" in css
|
assert "auto-fill" in css
|
||||||
assert "minmax" in css
|
assert "minmax" in css
|
||||||
|
|
||||||
|
|
||||||
def test_css_tile_height(css=None):
|
def test_css_tile_height():
|
||||||
css = read_css()
|
css = read_css()
|
||||||
assert ".session-tile" in css
|
assert ".session-tile" in css
|
||||||
assert "var(--tile-height)" in css
|
assert "var(--tile-height)" in css
|
||||||
|
|
||||||
|
|
||||||
def test_css_bell_indicator(css=None):
|
def test_css_bell_indicator():
|
||||||
css = read_css()
|
css = read_css()
|
||||||
assert "bell-pulse" in css
|
assert "bell-pulse" in css
|
||||||
assert ".session-tile--bell" in css
|
assert ".session-tile--bell" in css
|
||||||
|
|||||||
Reference in New Issue
Block a user