Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1275 | another assertion for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed May 3, 2022
1 parent fe366b5 commit 70af2fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/common/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70af2fd

Please sign in to comment.