diff --git a/test/test_ims.py b/test/test_ims.py
index 88d5945b372386b5920a97297978f387f88c5dbb..95b142df8e1f7bf81e278f91b7de9f7250c9e59c 100644
--- a/test/test_ims.py
+++ b/test/test_ims.py
@@ -52,7 +52,7 @@ def test_ims_class_entity_by_name(mocker):
 
     ds.get_entity_by_name('Node', 'dummy_name')
     mock_get.assert_called_once_with(
-        'dummy_base/ims/Node/byname/dummy_name',
+        'dummy_base/ims/Node/byname/"dummy_name"',
         headers={'Authorization': 'Bearer dummy_bt'},
         params=None)