test: restconf: Remove extra / when getting datastore

This commit is contained in:
Mattias Walström
2024-12-11 10:13:52 +01:00
parent e08576b008
commit a2c3919c0f
+1 -1
View File
@@ -204,7 +204,7 @@ class Device(Transport):
"""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: