summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-05 21:01:58 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-08 19:10:46 +0100
commit444a7f76f287996ae10fa9e6d800399feb698659 (patch)
treef18d6795990bba2e4f1389fa75055d14b995e18f /tests/unit
parent472b300154c5e59289d83f0b34d24bc52eb9b6da (diff)
downloadgitlab-refactor/named-placeholders.tar.gz
refactor: use new-style formatting for named placeholdersrefactor/named-placeholders
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_base.py b/tests/unit/test_base.py
index cccdfad..137f480 100644
--- a/tests/unit/test_base.py
+++ b/tests/unit/test_base.py
@@ -57,7 +57,7 @@ class TestRESTManager:
def test_computed_path_with_parent(self):
class MGR(base.RESTManager):
- _path = "/tests/%(test_id)s/cases"
+ _path = "/tests/{test_id}/cases"
_obj_cls = object
_from_parent_attrs = {"test_id": "id"}