Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed May 1, 2024
1 parent 6d89a3b commit ac3cfae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/collections/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def test_validate_openmrs_schema_duplicate_locale_type(self):
'description': 'Concept fully specified name must be unique for same collection and '
'locale.',
'conflicting_concept_url': concept1.uri,
'conflicting_concept_id': concept1.mnemonic,
'conflicting_concept_name': concept1.display_name,
'conflicting_name_url': f"{concept1.uri}names/{en_locale.id}/",
'conflicting_name': en_locale.name,
Expand All @@ -256,6 +257,7 @@ def test_validate_openmrs_schema_duplicate_locale_type(self):
'description': 'Concept fully specified name must be unique for same collection and '
'locale.',
'conflicting_concept_url': concept1.uri,
'conflicting_concept_id': concept1.mnemonic,
'conflicting_concept_name': concept1.display_name,
'conflicting_name_url': f"{concept1.uri}names/{ch_locale.id}/",
'conflicting_name': ch_locale.name,
Expand All @@ -264,6 +266,7 @@ def test_validate_openmrs_schema_duplicate_locale_type(self):
{
'description': 'Concept preferred name must be unique for same collection and locale.',
'conflicting_concept_url': concept1.uri,
'conflicting_concept_id': concept1.mnemonic,
'conflicting_concept_name': concept1.display_name,
'conflicting_name_url': f"{concept1.uri}names/{en_locale.id}/",
'conflicting_name': en_locale.name,
Expand All @@ -272,6 +275,7 @@ def test_validate_openmrs_schema_duplicate_locale_type(self):
{
'description': 'Concept preferred name must be unique for same collection and locale.',
'conflicting_concept_url': concept1.uri,
'conflicting_concept_id': concept1.mnemonic,
'conflicting_concept_name': concept1.display_name,
'conflicting_name_url': f"{concept1.uri}names/{ch_locale.id}/",
'conflicting_name': ch_locale.name,
Expand Down Expand Up @@ -310,6 +314,7 @@ def test_validate_openmrs_schema_matching_name_locale(self):
'description': 'Concept fully specified name must be unique for same collection and '
'locale.',
'conflicting_concept_url': concept2.uri,
'conflicting_concept_id': concept2.mnemonic,
'conflicting_concept_name': 'name',
'conflicting_name_url': f'{concept2.uri}names/{en_locale1.id}/',
'conflicting_name': 'name',
Expand Down

0 comments on commit ac3cfae

Please sign in to comment.