File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 71
71
- [x] Test cases
72
72
- [x] Route (or URL rule) exemption
73
73
- [x] Caching (in progress)
74
- - [ In progress ] Minify inline CSS
74
+ - [x ] Minify inline CSS
75
75
- [ ] Minify inline Javascript
76
76
- [ ] Type hints
Original file line number Diff line number Diff line change 14
14
15
15
setup (
16
16
name = 'Flask-HTMLmin' ,
17
- version = '2.1 .0' ,
17
+ version = '2.2 .0' ,
18
18
url = 'https://github.com/hamidfzm/Flask-HTMLmin' ,
19
19
license = 'BSD-3-Clause' ,
20
20
author = 'Hamid FzM' ,
Original file line number Diff line number Diff line change 7
7
8
8
app = Flask (__name__ )
9
9
app .config ['TESTING' ] = True
10
- app .config ['MINIFY_PAGE ' ] = True
10
+ app .config ['MINIFY_HTML ' ] = True
11
11
htmlmin = HTMLMIN (app = app )
12
12
13
13
json_resp = dict (
@@ -53,7 +53,6 @@ def client():
53
53
def test_html_minify (client ):
54
54
""" testing HTML minified response """
55
55
resp = client .get ('/' ).data
56
- print (resp )
57
56
assert b'<html> <style>.h{width:3em}</style><body>\
58
57
<h1 style="width:3em"> HTML </h1> </body> </html>' == resp
59
58
You can’t perform that action at this time.
0 commit comments