From 70af2fd2b009ce20e01dd4b5fe6b18390ef2a556 Mon Sep 17 00:00:00 2001 From: Sny Date: Fri, 29 Apr 2022 14:22:32 +0530 Subject: [PATCH] OpenConceptLab/ocl_issues#1275 | another assertion for a test --- core/common/tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/common/tests.py b/core/common/tests.py index 6a49943df..7075fa553 100644 --- a/core/common/tests.py +++ b/core/common/tests.py @@ -628,6 +628,10 @@ def test_to_parent_uri(self): to_parent_uri("https://foobar.com/users/user/sources/source/mappings/mapping1/v1/"), "https://foobar.com/users/user/sources/source/" ) + self.assertEqual( + to_parent_uri("/concepts/"), + "/" + ) def test_jsonify_safe(self): self.assertEqual(jsonify_safe(None), None)