@@ -140,7 +140,7 @@ def test_input_file_hash_1(tmp_path):
140
140
fields = [("in_file" , File )]
141
141
input_spec = SpecInfo (name = "Inputs" , fields = fields , bases = (BaseSpec ,))
142
142
inputs = make_klass (input_spec )
143
- assert inputs (in_file = outfile ).hash == "0e9306e5cae1de1b4dff1f27cca03bce "
143
+ assert inputs (in_file = outfile ).hash == "02fa5f6f1bbde7f25349f54335e1adaf "
144
144
145
145
146
146
def test_input_file_hash_2 (tmp_path ):
@@ -154,7 +154,7 @@ def test_input_file_hash_2(tmp_path):
154
154
155
155
# checking specific hash value
156
156
hash1 = inputs (in_file = file ).hash
157
- assert hash1 == "17e4e2b4d8ce8f36bf3fd65804958dbb "
157
+ assert hash1 == "aaa50d60ed33d3a316d58edc882a34c3 "
158
158
159
159
# checking if different name doesn't affect the hash
160
160
file_diffname = tmp_path / "in_file_2.txt"
@@ -185,7 +185,7 @@ def test_input_file_hash_2a(tmp_path):
185
185
186
186
# checking specific hash value
187
187
hash1 = inputs (in_file = file ).hash
188
- assert hash1 == "17e4e2b4d8ce8f36bf3fd65804958dbb "
188
+ assert hash1 == "aaa50d60ed33d3a316d58edc882a34c3 "
189
189
190
190
# checking if different name doesn't affect the hash
191
191
file_diffname = tmp_path / "in_file_2.txt"
@@ -204,7 +204,7 @@ def test_input_file_hash_2a(tmp_path):
204
204
205
205
# checking if string is also accepted
206
206
hash4 = inputs (in_file = str (file )).hash
207
- assert hash4 == "aee7c7ae25509fb4c92a081d58d17a67 "
207
+ assert hash4 == "800af2b5b334c9e3e5c40c0e49b7ffb5 "
208
208
209
209
210
210
def test_input_file_hash_3 (tmp_path ):
@@ -278,7 +278,7 @@ def test_input_file_hash_4(tmp_path):
278
278
279
279
# checking specific hash value
280
280
hash1 = inputs (in_file = [[file , 3 ]]).hash
281
- assert hash1 == "11b7e9c90bc8d9dc5ccfc8d4526ba091 "
281
+ assert hash1 == "0693adbfac9f675af87e900065b1de00 "
282
282
283
283
# the same file, but int field changes
284
284
hash1a = inputs (in_file = [[file , 5 ]]).hash
@@ -315,7 +315,7 @@ def test_input_file_hash_5(tmp_path):
315
315
316
316
# checking specific hash value
317
317
hash1 = inputs (in_file = [{"file" : file , "int" : 3 }]).hash
318
- assert hash1 == "5fd53b79e55bbf62a4bb3027eb753a2c "
318
+ assert hash1 == "56e6e2c9f3bdf0cd5bd3060046dea480 "
319
319
320
320
# the same file, but int field changes
321
321
hash1a = inputs (in_file = [{"file" : file , "int" : 5 }]).hash
0 commit comments