Skip to content

Commit

Permalink
test: restconf: Remove extra / when getting datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaswal committed Dec 11, 2024
1 parent e08576b commit a2c3919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/infamy/restconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def get_datastore(self, datastore="operational", path="", parse=True):
"""Get a datastore"""
dspath = f"/ds/ietf-datastores:{datastore}"
if path is not None:
dspath = f"{dspath}/{path}"
dspath = f"{dspath}{path}"

url = f"{self.restconf_url}{dspath}"
try:
Expand Down

0 comments on commit a2c3919

Please sign in to comment.