Skip to content

Commit

Permalink
changes after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Jan 9, 2024
1 parent 5ff6254 commit a9e7771
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/water_bodies/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ def post_execution_hook(self, log, output, usage_report, tool_logs):

logger.info(f"Register the collection and associated items to the catalog and to the harvester")
r = requests.post(f"{api_endpoint}/register",
data={"type": "stac-item", "url": collection.get_self_href()},
json={"type": "stac-item", "url": collection.get_self_href()},
headers=headers,)
logger.info(f"Register collection response: {r.status_code}")
logger.info(f"url {collection.get_self_href()}")
self.feature_collection = requests.get(
f"{api_endpoint}/collections/{collection.id}", headers=headers
).json()

#self.feature_collection = requests.get(
# f"{api_endpoint}/collections/{collection.id}", headers=headers
#).json()

@staticmethod
def local_get_file(fileName):
Expand Down

0 comments on commit a9e7771

Please sign in to comment.