@@ -2342,11 +2342,11 @@ def test_project_metadata(mc):
23422342 os .makedirs (os .path .join (project_dir , ".mergin" ), exist_ok = True )
23432343 metadata_file = os .path .join (project_dir , "old_metadata.json" )
23442344 # rewrite metadata nemespace to prevent failing tests with other user than test_plugin
2345- with open (metadata_file , 'r' ) as f :
2345+ with open (metadata_file , "r" ) as f :
23462346 metadata = json .load (f )
2347- metadata [' name' ] = f"{ API_USER } /{ test_project } "
2347+ metadata [" name" ] = f"{ API_USER } /{ test_project } "
23482348 project_metadata_file = os .path .join (project_dir , ".mergin" , "mergin.json" )
2349- with open (project_metadata_file , 'w' ) as f :
2349+ with open (project_metadata_file , "w" ) as f :
23502350 json .dump (metadata , f , indent = 2 )
23512351
23522352 # verify we have correct metadata
@@ -2359,10 +2359,10 @@ def test_project_metadata(mc):
23592359 # copy metadata in new format
23602360 metadata_file = os .path .join (project_dir , "new_metadata.json" )
23612361 # rewrite metadata nemespace to prevent failing tests with other user than test_plugin
2362- with open (metadata_file , 'r' ) as f :
2362+ with open (metadata_file , "r" ) as f :
23632363 metadata = json .load (f )
2364- metadata [' namespace' ] = API_USER
2365- with open (project_metadata_file , 'w' ) as f :
2364+ metadata [" namespace" ] = API_USER
2365+ with open (project_metadata_file , "w" ) as f :
23662366 json .dump (metadata , f , indent = 2 )
23672367
23682368 # verify we have correct metadata
0 commit comments