Skip to content

Commit

Permalink
Update concept values
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Mar 13, 2024
1 parent 0284d72 commit 6ab7465
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions arches_rdm/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
SCHEME_NAME_TYPE_NODE = "1330cc4c-d44d-11ee-9261-0242ac130005"
SCHEME_NAME_LANGUAGE_NODE = "2deaf45e-d44d-11ee-b78d-0242ac130005"

PREF_LABEL_VALUE_ID = "c23f272a-c844-4cf7-a0b7-77040d256e47"
ALT_LABEL_VALUE_ID = "503406c3-afa2-417f-bd85-7ac7caebe8e8"
PREF_LABEL_VALUE_ID = "3b8a03f1-9047-48e4-9ca0-b3fe887f6f9d"
ALT_LABEL_VALUE_ID = "c02f97c5-da16-4ff0-864a-92c34da84e38"

# Old RDM concepts, values
LANGUAGE_CONCEPT_ID = "b56094dd-cae6-44c5-9a52-94154dc36f12"
AMERICAN_ENGLISH_VALUE_ID = "dff78cb2-682c-41e0-a5b2-dcbb2d58c057"
LANGUAGE_CONCEPT_ID = "845cc417-ef77-4582-9271-ffba5e4cabc9"
ENGLISH_VALUE_ID = "de978fd0-2819-4855-8858-8c089780f32c"
8 changes: 4 additions & 4 deletions arches_rdm/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)

from arches_rdm.const import (
AMERICAN_ENGLISH_VALUE_ID,
ENGLISH_VALUE_ID,
CONCEPTS_GRAPH_ID,
LANGUAGE_CONCEPT_ID,
SCHEMES_GRAPH_ID,
Expand Down Expand Up @@ -95,7 +95,7 @@ def setUpModule():
)
Value.objects.get_or_create(
concept_id=LANGUAGE_CONCEPT_ID,
valueid=AMERICAN_ENGLISH_VALUE_ID,
valueid=ENGLISH_VALUE_ID,
valuetype_id="prefLabel",
value="en-US",
)
Expand Down Expand Up @@ -123,7 +123,7 @@ def setUpTestData(cls):
data={
SCHEME_NAME_CONTENT_NODE: localized_string("Test Scheme"),
SCHEME_NAME_TYPE_NODE: [PREF_LABEL_VALUE_ID],
SCHEME_NAME_LANGUAGE_NODE: [AMERICAN_ENGLISH_VALUE_ID],
SCHEME_NAME_LANGUAGE_NODE: [ENGLISH_VALUE_ID],
},
)

Expand All @@ -142,7 +142,7 @@ def setUpTestData(cls):
data={
CONCEPT_NAME_CONTENT_NODE: localized_string(f"Concept {i + 1}"),
CONCEPT_NAME_TYPE_NODE: [PREF_LABEL_VALUE_ID],
CONCEPT_NAME_LANGUAGE_NODE: [AMERICAN_ENGLISH_VALUE_ID],
CONCEPT_NAME_LANGUAGE_NODE: [ENGLISH_VALUE_ID],
},
)
# Create top concept/narrower tile
Expand Down

0 comments on commit 6ab7465

Please sign in to comment.