Enable PyTest ruff checks
This commit is contained in:
parent
4655300910
commit
d7d1f42b2c
11 changed files with 42 additions and 37 deletions
|
|
@ -26,12 +26,12 @@ def mock_static_dir():
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"filename, allow_cache",
|
||||
("filename", "allow_cache"),
|
||||
[
|
||||
["foo", False],
|
||||
["woff2.foo", False],
|
||||
["strange_file_ending_in_woff2", False],
|
||||
["fontfile.woff2", True],
|
||||
("foo", False),
|
||||
("woff2.foo", False),
|
||||
("strange_file_ending_in_woff2", False),
|
||||
("fontfile.woff2", True),
|
||||
],
|
||||
)
|
||||
def test_add_static_file(filename, allow_cache, mocker):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue