Revision 1c65dd5c
Added by koszko over 1 year ago
test/unit/test_item_preview.py | ||
---|---|---|
160 | 160 |
|
161 | 161 |
# Cause the "link" to `bye.js` to be invalid. |
162 | 162 |
sample_resource = make_sample_resource() |
163 |
sample_resource['scripts'][1]['hash_key'] = 'dummy nonexistent key'
|
|
163 |
sample_resource['scripts'][1]['sha256'] = 'dummy nonexistent hash'
|
|
164 | 164 |
|
165 | 165 |
execute_in_page( |
166 | 166 |
''' |
Also available in: Unified diff
adapt to changes in file path format
From now on we assume Hydrilla serves file contents at 'file/sha256/' instead of 'file/sha256-'.
With this commit we also stop using the "hash_key" property internally.