Skip to content

Commit

Permalink
test: restconf: Remove extra / when delete xpath
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaswal committed Dec 11, 2024
1 parent 397568f commit 734958b
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 @@ -367,7 +367,7 @@ def get_current_time_with_offset(self):

def delete_xpath(self, xpath):
"""Delete XPath from running config"""
path = f"/ds/ietf-datastores:running/{xpath_to_uri(xpath)}"
path = f"/ds/ietf-datastores:running{xpath_to_uri(xpath)}"
url = f"{self.restconf_url}{path}"
response = requests_workaround_delete(url, headers=self.headers,
auth=self.auth, verify=False)
Expand Down

0 comments on commit 734958b

Please sign in to comment.