@@ -341,9 +341,8 @@ def test_url_signed_with_diacritic_in_filename(self):
341
341
url = self .client .url (options )
342
342
self .assertEqual (
343
343
url ,
344
- "https://test-domain.com/test-endpoint/test_é_path_alt.jpg?ik-s=cae8a516223d21e245424dc0b97163aa3a03c789" ,
344
+ "https://test-domain.com/test-endpoint/test_é_path_alt.jpg?ik-s=" + signature ,
345
345
)
346
- self .assertIn ("ik-s=" + signature , url )
347
346
348
347
def test_url_signed_with_diacritic_in_filename_and_path (self ):
349
348
url = "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg"
@@ -360,9 +359,8 @@ def test_url_signed_with_diacritic_in_filename_and_path(self):
360
359
url = self .client .url (options )
361
360
self .assertEqual (
362
361
url ,
363
- "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg?ik-s=40a821ef1b7a2e9253599dac36a47be3d49787ab" ,
362
+ "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg?ik-s=" + signature ,
364
363
)
365
- self .assertIn ("ik-s=" + signature , url )
366
364
367
365
def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_path (self ):
368
366
url = "https://test-domain.com/test-endpoint/tr:l-text,i-Imagekité,fs-50,l-end/aéb/test_é_path_alt.jpg"
@@ -385,9 +383,8 @@ def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_path(self)
385
383
url = self .client .url (options )
386
384
self .assertEqual (
387
385
url ,
388
- "https://test-domain.com/test-endpoint/tr:l-text,i-Imagekité,fs-50,l-end/aéb/test_é_path_alt.jpg?ik-s=3a65902916664517bcac38e9ddaa69d4a81a0106" ,
386
+ "https://test-domain.com/test-endpoint/tr:l-text,i-Imagekité,fs-50,l-end/aéb/test_é_path_alt.jpg?ik-s=" + signature ,
389
387
)
390
- self .assertIn ("ik-s=" + signature , url )
391
388
392
389
def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_query (self ):
393
390
url = "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg?tr=l-text%2Ci-Imagekit%C3%A9%2Cfs-50%2Cl-end"
@@ -410,9 +407,8 @@ def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_query(self
410
407
url = self .client .url (options )
411
408
self .assertEqual (
412
409
url ,
413
- "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg?tr=l-text%2Ci-Imagekit%C3%A9%2Cfs-50%2Cl-end&ik-s=ce55719add9ac43908c9de6c0eceece70f4d6c6e" ,
410
+ "https://test-domain.com/test-endpoint/aéb/test_é_path_alt.jpg?tr=l-text%2Ci-Imagekit%C3%A9%2Cfs-50%2Cl-end&ik-s=" + signature ,
414
411
)
415
- self .assertIn ("ik-s=" + signature , url )
416
412
417
413
def test_generate_url_with_path_and_src_uses_path (self ):
418
414
"""
0 commit comments