diff --git a/tests/test_path.py b/tests/test_path.py index 582addb7c..3b9b268ea 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -27,12 +27,15 @@ class ListPathApp(App[None]): CSS_PATH = ["test.css", Path("/another/path.css")] -@pytest.mark.parametrize("app,expected_css_path_attribute", [ - (RelativePathObjectApp(), [APP_DIR / "test.css"]), - (RelativePathStrApp(), [APP_DIR / "test.css"]), - (AbsolutePathObjectApp(), [Path("/tmp/test.css")]), - (AbsolutePathStrApp(), [Path("/tmp/test.css")]), - (ListPathApp(), [APP_DIR / "test.css", Path("/another/path.css")]), -]) +@pytest.mark.parametrize( + "app,expected_css_path_attribute", + [ + (RelativePathObjectApp(), [APP_DIR / "test.css"]), + (RelativePathStrApp(), [APP_DIR / "test.css"]), + (AbsolutePathObjectApp(), [Path("/tmp/test.css")]), + (AbsolutePathStrApp(), [Path("/tmp/test.css")]), + (ListPathApp(), [APP_DIR / "test.css", Path("/another/path.css")]), + ], +) def test_css_paths_of_various_types(app, expected_css_path_attribute): assert app.css_path == [path.absolute() for path in expected_css_path_attribute]