@@ -341,9 +341,8 @@ def test_url_signed_with_diacritic_in_filename(self):
341341 url = self .client .url (options )
342342 self .assertEqual (
343343 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 ,
345345 )
346- self .assertIn ("ik-s=" + signature , url )
347346
348347 def test_url_signed_with_diacritic_in_filename_and_path (self ):
349348 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):
360359 url = self .client .url (options )
361360 self .assertEqual (
362361 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 ,
364363 )
365- self .assertIn ("ik-s=" + signature , url )
366364
367365 def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_path (self ):
368366 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)
385383 url = self .client .url (options )
386384 self .assertEqual (
387385 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 ,
389387 )
390- self .assertIn ("ik-s=" + signature , url )
391388
392389 def test_url_signed_with_diacritic_in_filename_path_transforamtion_in_query (self ):
393390 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
410407 url = self .client .url (options )
411408 self .assertEqual (
412409 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 ,
414411 )
415- self .assertIn ("ik-s=" + signature , url )
416412
417413 def test_generate_url_with_path_and_src_uses_path (self ):
418414 """
0 commit comments