File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -135,17 +135,18 @@ def test_manifest_file_success(self):
135135 self .assertEqual (expected_output , actual_output )
136136
137137 def test_manifest_file_tampered (self ):
138- input = " Algorithmia"
138+ input = ' Algorithmia'
139139 expected_output = {"error" : {"error_type" : "LoadingError" ,
140140 "message" : "Model File Mismatch for squeezenet\n "
141141 "expected hash: f20b50b44fdef367a225d41f747a0963\n "
142142 "real hash: 46a44d32d2c5c07f7f66324bef4c7266" ,
143- "stacktrace" : "NoneType: None \n " }}
143+ "stacktrace" : '' }}
144144
145145 actual_output = json .loads (self .execute_manifest_example (input , apply_successful_manifest_parsing ,
146146 loading_with_manifest ,
147147 manifest_path = "tests/manifests/bad_model_manifest"
148148 ".json" ))
149+ actual_output ['error' ]['stacktrace' ] = ''
149150 self .assertEqual (expected_output , actual_output )
150151
151152
You can’t perform that action at this time.
0 commit comments