Skip to content

Commit ea00656

Browse files
committed
Fixing the test cases acc to md5 hash generated
1 parent cde54cc commit ea00656

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/core/test_filters.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_cacheBust_no_params():
8686
assert input_uri == sections[0]
8787

8888
hash = sections[1].split("=")[1]
89-
assert len(hash) == 40
89+
assert len(hash) == 32
9090

9191

9292
def test_cacheBust_params():
@@ -99,7 +99,7 @@ def test_cacheBust_params():
9999
assert params[0] == "fakeParam=myFakeParam"
100100

101101
hash = params[1].split("=")[1]
102-
assert len(hash) == 40
102+
assert len(hash) == 32
103103

104104

105105
def test_append_uri_param():
@@ -120,7 +120,7 @@ def test_append_uri_param():
120120
def test_hash_file():
121121
result = hash_file("static/javascripts/MapController.js")
122122
print(result)
123-
assert len(result) == 40
123+
assert len(result) == 32
124124

125125

126126
def test_make_url_param_str_all_arguements():

0 commit comments

Comments
 (0)