@@ -1206,23 +1206,8 @@ def test_write_api_manifest_json(self):
12061206 manifest_path = join (temp_dir , "manifest.json" )
12071207 with open (manifest_path ) as f :
12081208 manifest_data = json .load (f )
1209- self .assertEqual (
1210- manifest_data ,
1211- {
1212- "version" : 1 ,
1213- "locale" : "en_US.UTF-8" ,
1214- "metadata" : {"appmode" : "python-api" , "entrypoint" : "app:app" },
1215- "python" : {
1216- "version" : "3.9.12" ,
1217- "package_manager" : {"name" : "pip" , "version" : "22.0.4" , "package_file" : "requirements.txt" },
1218- },
1219- "files" : {
1220- "requirements.txt" : {"checksum" : "d108edd464af9a839226a62b967792eb" },
1221- "app.py" : {"checksum" : "fce2c868dd1689602160cb02bf40efc0" },
1222- },
1223- "integrations" : [],
1224- },
1225- )
1209+ self .assertIn ("integrations" , manifest_data )
1210+ self .assertEqual (manifest_data ["integrations" ], [])
12261211
12271212 def test_write_voila_manifest_json (self ):
12281213 """Test that write_voila_manifest_json includes empty integrations field"""
@@ -1256,24 +1241,8 @@ def test_write_voila_manifest_json(self):
12561241 manifest_path = join (temp_dir , "manifest.json" )
12571242 with open (manifest_path ) as f :
12581243 manifest_data = json .load (f )
1259-
1260- self .assertEqual (
1261- manifest_data ,
1262- {
1263- "version" : 1 ,
1264- "locale" : "en_US.UTF-8" ,
1265- "metadata" : {"appmode" : "jupyter-voila" , "entrypoint" : "notebook.ipynb" },
1266- "python" : {
1267- "version" : "3.9.12" ,
1268- "package_manager" : {"name" : "pip" , "version" : "22.0.4" , "package_file" : "requirements.txt" },
1269- },
1270- "files" : {
1271- "requirements.txt" : {"checksum" : "1d2a079d610f8ec35da9af81527049d9" },
1272- "notebook.ipynb" : {"checksum" : "045b5aba58a3dd7def524be564274d15" },
1273- },
1274- "integrations" : [],
1275- },
1276- )
1244+ self .assertIn ("integrations" , manifest_data )
1245+ self .assertEqual (manifest_data ["integrations" ], [])
12771246
12781247 def test_write_notebook_manifest_json (self ):
12791248 """Test that write_notebook_manifest_json includes empty integrations field"""
@@ -1307,23 +1276,8 @@ def test_write_notebook_manifest_json(self):
13071276 with open (manifest_path ) as f :
13081277 manifest_data = json .load (f )
13091278
1310- self .assertEqual (
1311- manifest_data ,
1312- {
1313- "version" : 1 ,
1314- "locale" : "en_US.UTF-8" ,
1315- "metadata" : {"appmode" : "jupyter-static" , "entrypoint" : "notebook.ipynb" },
1316- "python" : {
1317- "package_manager" : {"name" : "pip" , "package_file" : "requirements.txt" , "version" : "22.0.4" },
1318- "version" : "3.9.12" ,
1319- },
1320- "files" : {
1321- "notebook.ipynb" : {"checksum" : "045b5aba58a3dd7def524be564274d15" },
1322- "requirements.txt" : {"checksum" : "1d2a079d610f8ec35da9af81527049d9" },
1323- },
1324- "integrations" : [],
1325- },
1326- )
1279+ self .assertIn ("integrations" , manifest_data )
1280+ self .assertEqual (manifest_data ["integrations" ], [])
13271281
13281282 def test_make_html_manifest (self ):
13291283 # Verify the optional parameters
0 commit comments