Facilite la gestion et la valorisation du bénévolat dans les associations.
https://benevalibre.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
376 B
15 lines
376 B
import pytest |
|
|
|
from ..templatetags.minified import get_minified_static_path |
|
|
|
|
|
@pytest.mark.parametrize( |
|
'path, result', |
|
[ |
|
('css/app.css', 'css/app.min.css'), |
|
('path/to/file.ext', 'path/to/file.ext'), |
|
('path/to/file', 'path/to/file'), |
|
], |
|
) |
|
def test_get_minified_static_path(path, result): |
|
assert get_minified_static_path(path) == result
|
|
|