def test_db_missing_catalog_key():
 with pytest.raises(VOSError):
  db = vos_catalog.VOSDatabase({})

def test_db_missing_catalog_key ( ) : with pytest . raises ( VOSError ) : db = vos_catalog . VOSDatabase ( { } )
database must have catalogs key .